You are here

class MigrateTaxonomyTermMachineNameHandler in Taxonomy Machine Name 7

Class MigrateTaxonomyTermMachineNameHandler

Hierarchy

Expanded class hierarchy of MigrateTaxonomyTermMachineNameHandler

1 string reference to 'MigrateTaxonomyTermMachineNameHandler'
taxonomy_machine_name_migrate_api in ./taxonomy_machine_name.module
Implements hook_migrate_api().

File

./taxonomy_machine_name.migrate.inc, line 57
Taxonomy Machine Name Migrate Module File.

View source
class MigrateTaxonomyTermMachineNameHandler extends MigrateDestinationHandler {

  /**
   * Specify list of types supports.
   */
  public function __construct() {
    $this
      ->registerTypes(array(
      'taxonomy_term',
    ));
  }

  /**
   * List of fields supported.
   *
   * @return array
   *   List.
   */
  public function fields() {
    return array(
      'machine_name' => t('Machine name'),
    );
  }

}

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
MigrateTaxonomyTermMachineNameHandler::fields public function List of fields supported.
MigrateTaxonomyTermMachineNameHandler::__construct public function Specify list of types supports. Overrides MigrateHandler::__construct