function adaptivetheme_drush_command

cis7 adaptivetheme.drush.inc adaptivetheme_drush_command()
cle7 adaptivetheme.drush.inc adaptivetheme_drush_command()
elmsmedia7 adaptivetheme.drush.inc adaptivetheme_drush_command()
icor7 adaptivetheme.drush.inc adaptivetheme_drush_command()
meedjum_blog7 adaptivetheme.drush.inc adaptivetheme_drush_command()
mooc7 adaptivetheme.drush.inc adaptivetheme_drush_command()

Implementation of hook_drush_command().

File

sites/all/themes/ulmus/adaptivetheme/at_core/adaptivetheme.drush.inc, line 12
Contains functions only needed for drush integration.

Code

function adaptivetheme_drush_command() {
  $items = array();

  $items['adaptivetheme'] = array(
    'description' => 'Create a theme using adaptivetheme.',
    'arguments' => array(
      'name' => 'A name for your theme.',
      'machine_name' => '[optional] A machine-readable name for your theme.',
    ),
    'options' => array(
      'name' => 'A name for your theme.',
      'machine-name' => '[a-z, 0-9] A machine-readable name for your theme.',
      'description' => 'A description of your theme.',
      'without-rtl' => 'Remove all RTL stylesheets.',
      // @TODO potentially add settings defaults?
    ),
    'examples' => array(
      'drush adaptivetheme "My theme name"' => 'Create a sub-theme, using the default options.',
      'drush adaptivetheme "My theme name" my_theme' => 'Create a sub-theme with a specific machine name.',
    ),
  );

  return $items;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.