You are here

class TermStatusMigrationHandler in Taxonomy Term Status 7

Destination handler for Taxonomy Term Status module.

Hierarchy

Expanded class hierarchy of TermStatusMigrationHandler

1 string reference to 'TermStatusMigrationHandler'
termstatus_migrate_api in ./termstatus.migrate.inc
Implements hook_migrate_api().

File

./termstatus.migrate.inc, line 11
Migration support for the Taxonomy Term Status module.

View source
class TermStatusMigrationHandler extends MigrateDestinationHandler {
  public function __construct() {
    $this
      ->registerTypes(array(
      'taxonomy_term',
    ));
  }

  /**
   * Implements MigrateDestinationHandler::fields().
   */
  public function fields() {
    return array(
      'status' => t('The taxonomy term status (1 if published, 0 if not published).'),
    );
  }

}

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? 1
MigrateHandler::registerTypes protected function Register a list of types handled by this class
TermStatusMigrationHandler::fields public function Implements MigrateDestinationHandler::fields().
TermStatusMigrationHandler::__construct public function Overrides MigrateHandler::__construct