private function DefaultContentDeployCommands::processingArrayOption in Default Content Deploy 8
Helper for processing array drush options.
Parameters
$option: Drush option.
Return value
array|null Processed value or NULL.
3 calls to DefaultContentDeployCommands::processingArrayOption()
- DefaultContentDeployCommands::contentDeployExport in src/
Commands/ DefaultContentDeployCommands.php - Exports a single entity or group of entities.
- DefaultContentDeployCommands::contentDeployExportSite in src/
Commands/ DefaultContentDeployCommands.php - Exports a whole site content.
- DefaultContentDeployCommands::contentDeployExportWithReferences in src/
Commands/ DefaultContentDeployCommands.php - Exports a single entity with references.
File
- src/
Commands/ DefaultContentDeployCommands.php, line 400
Class
- DefaultContentDeployCommands
- Class DefaultContentDeployCommands.
Namespace
Drupal\default_content_deploy\CommandsCode
private function processingArrayOption($option) {
if (!is_null($option) && $option != FALSE) {
$array = explode(',', $option);
}
else {
return NULL;
}
return $array;
}