You are here

class MigratePageTitleNodeHandler in Migrate Extras 6.2

@file Support for titles into the Page Title module.

Hierarchy

Expanded class hierarchy of MigratePageTitleNodeHandler

1 string reference to 'MigratePageTitleNodeHandler'
migrate_extras_migrate_api in ./migrate_extras.module

File

./page_title.inc, line 8
Support for titles into the Page Title module.

View source
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 <title> tag'),
      );
    }
    else {
      return array();
    }
  }

}

Members

Namesort descending Modifiers Type Description Overrides
MigrateHandler::$dependencies protected property List of other handler classes which should be invoked before the current one.
MigrateHandler::$typesHandled protected property List of "types" handled by this handler. Depending on the kind of handler, these may be destination types, field types, etc.
MigrateHandler::getDependencies public function
MigrateHandler::getTypesHandled public function
MigrateHandler::handlesType public function Does this handler handle the given type?
MigrateHandler::registerTypes protected function Register a list of types handled by this class
MigratePageTitleNodeHandler::fields public function Make the destination field visible.
MigratePageTitleNodeHandler::__construct public function Overrides MigrateHandler::__construct