You are here

public function MigrateNodewordsNodeHandler::fields in Migrate Extras 6.2

Make the destination fields visible. Prefixes added to avoid potential conflict with other modules.

1 call to MigrateNodewordsNodeHandler::fields()
MigrateNodewordsNodeHandler::prepare in ./nodewords.inc
Move the nodewords fields into the appropriate structure for the nodewords module to handle them on update/insert.

File

./nodewords.inc, line 17
Support for importing META information into the Nodewords module.

Class

MigrateNodewordsNodeHandler
@file Support for importing META information into the Nodewords module.

Code

public function fields() {
  if (module_exists('nodewords')) {
    return array(
      'nodewords_abstract' => t('Nodewords: Abstract'),
      'nodewords_canonical' => t('Nodewords: Canonical'),
      'nodewords_copyright' => t('Nodewords: Copyright'),
      'nodewords_description' => t('Nodewords: Description'),
      'nodewords_keywords' => t('Nodewords: Keywords'),
      'nodewords_revisit-after' => t('Nodewords: Revisit After'),
      'nodewords_robots' => t('Nodewords: Robots'),
    );
  }
  else {
    return array();
  }
}