You are here

function redhen_contact_drush_command in RedHen CRM 8

Implements hook_drush_command().

File

modules/redhen_contact/redhen_contact.drush.inc, line 13
Drush tools for the Redhen Contacts module.

Code

function redhen_contact_drush_command() {
  $items = [];

  // Deletes the temporary node table column created by save-moderation-states.
  $items['redhen-contact-link-users'] = [
    'description' => "Link Users without Contacts to existing Contacts based on email address.\n\nArguments:\n check                                 The number of Users to check. (Default is 50).",
    'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_FULL,
    'core' => [
      '8+',
    ],
  ];
  return $items;
}