Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

External Entities Media Synchronizer

Security covered Under active development

Part of the External ecosystem · 22 projects

This module automatically creates and synchronizes Drupal media entities from remote data exposed by the External Entities module. It generates a dedicated media type for each external entity type and uses a Drush command to populate these media entities, optionally downloading and caching thumbnail images locally.

Automatically creates and synchronizes Drupal media entities from remote data exposed through the External Entities module. Each enabled external entity type gets its own media type, populated via a Drush command — no custom code required.

Features

  • Automatically creates a dedicated media type for each external entity type when synchronization is enabled.
  • Drush command to create, update, and clean up media entities in bulk. Supports filtering by entity type or by specific remote IDs.
  • Configurable behavior when a remote entity disappears: do nothing, unpublish, or delete the corresponding media.
  • Each media entity is only an entity reference to the external entity.
  • Downloads and caches remote thumbnail images locally from a configurable Drupal field (e.g. field_image_url).
  • One-click batch deletion of all media entities linked to an external entity type, with confirmation step.

Post-Installation

  1. 1. Go to Administration > Structure > External Entity Types.
  2. 2. Edit an existing external entity type.
  3. 3. Open the Media synchronization tab.
  4. 4. Check Enable media synchronization, set the thumbnail field machine name (e.g. field_image_url) and choose the missing-entity behavior.
  5. 5. Save, a media type is created automatically.
  6. 6. Run drush xnttms to populate media entities from the remote source.

Drush commands

The drush commands allow to set a certain amount of workers to speed up the process. Each worker is its own drush subprocess that free used memory after its process is finished.

external-entities:media-sync

drush xntt:ms [types] [--ids=<ids>] [--workers=<1-10>] [--batch-size=<n>]

Create or update media entities that reference the remote external entity.

drush xntt:ms
drush xntt:ms publications,exhibitions
drush xntt:ms publications --ids=123,456

external-entities:media-delete

drush xntt:md [types] [--ids=<ids>] [--workers=<1-10>] [--batch-size=<n>]

Delete all synchronized media entities.

Additional Requirements

Drupal 11 · not 10

Ask your assistant about External Entities Media Synchronizer

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
9
Tracked since
Oct 2026
Latest release
3 days ago
Releases (12 mo)
9 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.1.0 Stable 11 Nov 24, 2026
1.0.7 Stable 11 Nov 24, 2026
1.0.6 Stable 11 Nov 23, 2026
1.0.5 Stable 11 Nov 4, 2026
1.0.4 Stable 11 Oct 26, 2026
1.0.3 Stable Oct 21, 2026
1.0.2 Stable 11 Oct 21, 2026
1.0.1 Stable 11 Oct 14, 2026
1.0.x-dev Dev 11 Oct 13, 2026