You are here

page_title.inc in Migrate Extras 6.2

Support for titles into the Page Title module.

File

page_title.inc
View source
<?php

/**
 * @file
 * Support for titles into the Page Title module.
 */
class MigratePageTitleNodeHandler extends MigrateDestinationHandler {
  public function __construct() {
    $this
      ->registerTypes(array(
      'node',
    ));
  }

  /**
   * Make the destination field visible.
   */
  public function fields() {
    if (module_exists('page_title')) {
      return array(
        'page_title' => t('Page Title: Title for &lt;title&gt; tag'),
      );
    }
    else {
      return array();
    }
  }

}

Classes

Namesort descending Description
MigratePageTitleNodeHandler @file Support for titles into the Page Title module.