function _ctools_drush_explode_options

Convert the drush options from a csv list into an array.

Parameters

$drush_option: The drush option name to invoke.

Return value

Exploded array of options.

1 call to _ctools_drush_explode_options()
ctools_drush_export in drush/ctools.drush.inc
Drush callback: export.

File

drush/ctools.drush.inc, line 950

Code

function _ctools_drush_explode_options($drush_option) {
    $options = drush_get_option($drush_option, array());
    if (!empty($options)) {
        $options = explode(',', $options);
        return array_map('trim', $options);
    }
    return $options;
}