Skip to main content

Migrate

Migrate Process Text to Paragraphs

Submitted by daniel on

Migrate Process Text to Paragraphs provides a Migrate process plugin to allow processing of string with new lines into string with paragraphs (similar to nl2br()).

Example

process:
  'body/value':
    -
      plugin: get
      source: text
    -
      plugin: migrate_process_text_to_paragraphs
      delimiter: \n // default \n\n

https://www.drupal.org/project/migrate_process_text_to_paragraphs

Date Created

Migrate Process Extract Regex

Submitted by daniel on

Migrate Process Extract Regex

This module provides a Migrate process plugin to enable you to parse and extract a $needle (string) from a $haystack (string). This will either return $match[1] or the original $haystack if no match is found.

Use Case

This migrate_process_extract_regex module is useful where developers are handling remote images with the remote_steam_wrapper module. Sometimes remote media assets (pictures etc.) do not contain a valid query string and will fail to import.

e.g.

Date Created

Migrate Process Remote Image Check

Submitted by daniel on

This module provides a Migrate process plugin to enable you to check whether a migrated remote image url/string is in fact a valid address for a media asset such as an image. It does this by requesting each image and see if it returns a valid response.

If this fails, it will attempt to remove any query string to that has been appended to an image to see if removing this helps to generate a successful response.

If the response is not ok, it will fallback to using an empty string so as to avoid any exceptions when trying to migrate the remote image asset.

Date Created

Croner-i

Submitted by daniel on

Croner-i Tax Audit and Accounting

Agile based development for online publishing platform of HR, Accounting and Legal Professions News and Information

Croner-i App

Date Created