You are here

typogrify.module in Typogrify 8

Same filename and directory in other branches
  1. 5 typogrify.module
  2. 6 typogrify.module
  3. 7 typogrify.module

Define hook implementations for the typogrify module.

File

typogrify.module
View source
<?php

/**
 * @file
 * Define hook implementations for the typogrify module.
 */

/**
 * Implements hook_migration_plugins_alter().
 */
function typogrify_migration_plugins_alter(array &$migrations) {
  if (isset($migrations['d6_filter_format'])) {
    $migration =& $migrations['d6_filter_format'];

    // Add 6.x-1.x to 8.x-1.x filter ID mapping.
    $migration['process']['filters']['process']['id']['map']['typogrify'][0] = 'typogrify';
  }
}