You are here

function entityreference_migration_drush_command in Reference to EntityReference Field Migration 7

Same name and namespace in other branches
  1. 7.2 entityreference_migration.drush.inc \entityreference_migration_drush_command()

Implementation of hook_drush_command().

File

./entityreference_migration.drush.inc, line 16

Code

function entityreference_migration_drush_command() {
  $items = array();
  $items['entityreference-migrate-references'] = array(
    'callback' => 'drush_entityreference_migration_references',
    'description' => t('Convert references fields into entityreference fields.'),
    'arguments' => array(
      'type' => dt('Optional. Only convert the particular field.'),
    ),
    'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_FULL,
    'aliases' => array(
      'emr',
    ),
  );
  return $items;
}