You are here

function eck_drush_command in Entity Construction Kit (ECK) 7.2

Same name and namespace in other branches
  1. 7.3 includes/eck.drush.inc \eck_drush_command()

Implements hook_drush_command().

File

includes/eck.drush.inc, line 31
Drush support for ECK.

Code

function eck_drush_command() {
  $items = array();
  $items['entity-construction-kit'] = array(
    'description' => "Show fields attached to a selected entity and bundle created by entity construction kit.",
    'drupal dependencies' => array(
      'eck',
    ),
    'aliases' => array(
      'eck',
    ),
  );
  $items['entity-construction-kit-all'] = array(
    'description' => "List all of the entities, bundles, and attached fields created by entity construction kit.",
    'drupal dependencies' => array(
      'eck',
    ),
    'aliases' => array(
      'eck-all',
    ),
  );
  return $items;
}