function drush_omega_subtheme in Omega Tools 7.2
Same name and namespace in other branches
- 6 omega_tools.drush.inc \drush_omega_subtheme()
- 7 omega_tools.drush.inc \drush_omega_subtheme()
1 string reference to 'drush_omega_subtheme'
- omega_tools_drush_command in ./
omega_tools.drush.inc - Implementation of hook_drush_command().
File
- ./
omega_tools.drush.inc, line 42 - Drush sql commands
Code
function drush_omega_subtheme($name, $type = 'html5') {
if (isset($name)) {
$exec = drush_omega_tools_subtheme($name, $type);
// Avoid the php memory of the $output array in drush_shell_exec().
if ($exec) {
$return = drush_op('system', $exec);
return $return;
}
}
else {
return drush_set_error(dt('You must delcare the name of the new subtheme. See drush help omega-subtheme for usage information.'));
}
}