You are here

function markdown_migration_plugins_alter in Markdown 8

Same name and namespace in other branches
  1. 8.2 markdown.module \markdown_migration_plugins_alter()
  2. 3.0.x markdown.module \markdown_migration_plugins_alter()

Implements hook_migration_plugins_alter().

File

./markdown.module, line 63
Provides a Markdown input filter.

Code

function markdown_migration_plugins_alter(array &$migrations) {
  if (isset($migrations['d7_filter_format'])) {
    $migration =& $migrations['d7_filter_format'];

    // Add mapping from filter_markdown to markdown for D7 migratins.
    $migration['process']['filters']['process']['id']['map']['filter_markdown'] = 'markdown';
  }
}