function _drush_entity_update_checkoptions in Entity Update 8
Same name and namespace in other branches
- 2.0.x drush/entity_update.drush8.inc \_drush_entity_update_checkoptions()
Check options validity.
1 call to _drush_entity_update_checkoptions()
- drush_entity_update in ./
entity_update.drush.inc - Call back function of entity-update.
File
- ./
entity_update.drush.inc, line 207 - Entity update module (entity_update).
Code
function _drush_entity_update_checkoptions(array $options) {
// Check commands list.
foreach ($options as $option) {
if (drush_get_option($option)) {
return TRUE;
}
}
return FALSE;
}