https://github.com/oxy86/drupal-embed-migrate
https://github.com/oxy86/drupal-embed-migrate
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/oxy86/drupal-embed-migrate
- Owner: oxy86
- Created: 2025-07-24T06:27:35.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-24T06:46:57.000Z (11 months ago)
- Last Synced: 2025-07-24T10:26:45.212Z (11 months ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Embed Migrate
A Drush command to migrate legacy video embeds (e.g. ``, Instagram URLs, old `
` formats) in Drupal node bodies to the modern `` format.
## Features
- Converts:
- JSON video embed blobs
- `
` wrappers
- ``
- `` embeds
- Keeps YouTube, Instagram, Facebook etc. URLs
- Logs node IDs and what was converted
- Skips already updated entries
## Installation
Place the module in `web/modules/custom/embed_migrate/`
Then enable it with:
```bash
drush en embed_migrate
```
## Usage
```bash
drush embed-migrate
```
You can also limit by node type or run in dry-run mode:
```bash
drush embed-migrate --type=article --dry-run
```
## Author
Dimitris Kalamaras – https://github.com/oxy86/
## LICENSE
MIT