You should run a scan whenever files or content change.
Recommended times include:
- After uploading many files
- After removing documents from pages
- After a site migration or bulk update
- On a regular schedule for maintenance
You should run a scan whenever files or content change.
Recommended times include:
Scanning reviews files and site content.
Scan time depends on:
Longer scan times are normal for large sites.
Common reasons include:
Running a new scan usually resolves this.
These labels describe how a file or asset was added (shown in the "Location" column).
All items are tracked the same way in the inventory. External items are included for awareness, even though they are not controlled by the site.
Yes, if you have permission and the file is not in use.
Before deleting:
Deleting a file permanently removes it from the site.
Files can be referenced in places that are not obvious.
Examples include:
Use the inventory's usage information to locate where the file appears.
No. The inventory reflects the last scan.
After replacing a file:
System generated files such as styles, thumbnails, and scripts are excluded automatically.
You do not need to manage these.
The inventory returns to the state it was in at the time of the backup.
After restoring:
No. The Digital Asset Inventory does not track SVG code that is embedded directly in HTML content (inline SVGs).
What counts as an inline SVG:
{% include %} or {{ source() }} functionThese are part of the page markup, not separate files, and are not detected by the scanner.
The inventory tracks SVG images that exist as files in Drupal.
| SVG Type | Tracked? | Example |
|---|---|---|
| Uploaded via Media Library | Yes | A logo uploaded as a Media item |
| Uploaded via file field | Yes | An SVG attached to a content type’s image field |
| Uploaded manually (FTP/SFTP) | Yes | An SVG in /sites/default/files/ |
| Inline SVG in HTML | No | <svg>...</svg> pasted into CKEditor |
| SVG in theme template | No | An icon rendered by a Twig template |
Key distinction: If the SVG has a file URL (for example, /sites/default/files/logo.svg), it is tracked. If it is embedded directly as markup, it is not.
Inline SVGs are not separate digital assets—they are part of the HTML document itself.
Technical reasons:
Practical reasons:
Yes. All SVG images—whether inline or file-based—must meet WCAG 2.1 AA accessibility requirements when used as meaningful content.
aria-hidden="true" to hide from assistive technology<title> element to provide an accessible namerole="img" when appropriateNote: The Digital Asset Inventory does not track inline SVGs, but your accessibility review process should still include them.
Upload an SVG file when:
Use inline SVG when:
Recommendation: For content-managed images that need tracking and potential archiving, upload as a file. For theme decorations and UI icons, inline embedding is appropriate.
Yes. YouTube and Vimeo videos added through the Media Library's "Remote Video" media type are tracked in the inventory.
How remote videos appear:
Note: Remote videos added via Media Library are different from YouTube URLs pasted directly in content:
| Method | Location | Tracked As |
|---|---|---|
| Media Library → Remote Video | Media | Media entity |
| URL pasted in CKEditor | External | External link |
Both methods are tracked, but Media Library videos have additional metadata like the media title and can be managed through the Media Library interface.
The file size column shows "-" (dash) for assets that don't have a local file:
These assets are tracked for compliance purposes, but since there's no local file, there's no file size to report.
When you view the usage details for any asset, you'll see an Embed Type column that shows how the asset is embedded in content. This column appears for all asset types (documents, images, videos, audio, external assets):
| Embed Type | Meaning |
|---|---|
| Media Embed | Embedded via CKEditor's media button () |
| Field Reference | Referenced via an entity reference or file field |
| HTML5 Video | Raw tag in content |
| HTML5 Audio | Raw tag in content |
| Text Link | Hyperlink to the file in text content |
| Inline Image | Inline tag in text content (not via Media Library) |
| Object Embed | Legacy tag in text content |
| Embed Element | Legacy tag in text content |
| Text URL | External URL found in text content |
| Link Field | URL from a Drupal Link field |
| Menu Link | Link in a navigation menu |
For video and audio assets specifically, additional Accessibility Signal columns show detectable features:
| Column | Meaning |
|---|---|
| Controls | Are player controls present? |
| Captions | Are captions or subtitles available? |
| Transcript | Is a transcript link detected nearby? |
Signal values:
Note: The Controls, Captions, and Transcript columns only appear for video and audio assets. Image assets show an Alt Text column instead. The Embed Type column appears for all asset types.
Yes. The File Name search field searches both file names and URLs. This means you can find external assets by typing part of their URL.
Examples:
This is useful for finding all external assets from a particular service or domain.
The scanner detects files referenced through several types of HTML tags in text content. The scanner uses a universal sites/[^/]+/files pattern that works across all Drupal installations (default, multisite, Site Factory). Examples show the default /sites/default/files/ path:
| HTML Tag | What It Finds | Example |
|---|---|---|
| Links to files | Download | |
| Inline images | ||
| Video embeds | ||
| Audio embeds | ||
| Legacy object embeds | ||
| Legacy embed elements | ||
| CKEditor media embeds | Media embedded via the media button |
The scanner also detects files referenced through:
Files that are only referenced in theme templates, custom code, or JavaScript-loaded content are not detected by the scanner.
Orphan references may temporarily appear after content is deleted. Drupal cleans up unused paragraph components in the background.
If a scan runs before that cleanup completes, the orphan references will appear. Once Drupal finishes removing the unused components, they will no longer show in future scans.
This is expected behavior. The inventory always reflects the current state of the site at the time of the scan.