You are here

function brightcove_drush_command in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 brightcove.drush.inc \brightcove_drush_command()
  2. 3.x brightcove.drush.inc \brightcove_drush_command()

Implements hook_drush_command().

File

./brightcove.drush.inc, line 13
Contains custom Brightcove drush commands.

Code

function brightcove_drush_command() {
  $items = [];
  $items['brightcove-sync-all'] = [
    'description' => 'Initiates a Brightcove-to-Drupal sync by adding API clients to the queue.',
    'drupal dependencies' => [
      'brightcove',
    ],
    'callback' => 'drush_brightcove_sync_all',
    'aliases' => [
      'brightcove:sync-all',
      'bcsa',
    ],
  ];
  return $items;
}