function potx_exportables_drush_command in Potx exportables 7
Implements hook_drush_command().
File
- ./
potx_exportables.drush.inc, line 10 - This files defines the Drush command used to kickstart the batch process.
Code
function potx_exportables_drush_command() {
$items = array();
$items['potx-import-all'] = array(
'description' => 'Import all po files using Drush.',
'callback' => '_potx_exportables_import_drush_command',
'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_SITE,
'aliases' => array(
'pia',
),
);
return $items;
}