You are here

public function WorkbenchModerationMigrateDestinationHandler::fields in Workbench Moderation 7

Same name and namespace in other branches
  1. 7.3 workbench_moderation.migrate.inc \WorkbenchModerationMigrateDestinationHandler::fields()

File

./workbench_moderation.migrate.inc, line 11

Class

WorkbenchModerationMigrateDestinationHandler

Code

public function fields($entity_type, $bundle_type) {
  $fields = array();
  if (workbench_moderation_node_type_moderated($bundle_type)) {
    $fields['workbench_moderation_state_new'] = t('Moderation state');
  }
  return $fields;
}