You are here

function domain_locale_drush_command in Domain Locale 7

Implements hook_drush_command().

File

./domain_locale.drush.inc, line 11
Drush commands for Domain Locale.

Code

function domain_locale_drush_command() {
  $items = array();
  $items['domain-locale-set'] = array(
    'description' => 'Add specific language settings to a site.',
    'examples' => array(
      'drush domain-locale-set example.com \'de\'',
      'drush domain-locale-set example.com \'de fr\' --weight=-1 --default=fr',
    ),
    'arguments' => array(
      'domain' => 'The domain to register (e.g. example.com).',
      'languages' => 'The prefixes of the languages to enable for this site (e.g. \'en\', \'en de\', ...).',
    ),
    'options' => array(
      'default' => 'The prefix of the default language for this domain.',
    ),
  );
  return $items;
}