Drupal 9: Migrating Textarea Fields Into Metatag Data

This will migrate text area field data into Metatag module fields.

process:
  metatags/0/description: field_meta_data/0/value
  metatags/0/title: field_meta_title/0/value
  field_meta_tags:
    plugin: callback
    callable: serialize
    source: "@metatags"

 

Add new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
10 + 0 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.