You are here

function _drush_entity_update_checkoptions in Entity Update 2.0.x

Same name and namespace in other branches
  1. 8 entity_update.drush.inc \_drush_entity_update_checkoptions()

Check options validity.

2 calls to _drush_entity_update_checkoptions()
drush_entity_update in drush/entity_update.drush8.inc
Call back function of entity-update.
EntityUpdatesCommands::entityUpdates in src/Commands/EntityUpdatesCommands.php
Apply pending entity schema updates.

File

drush/entity_update.drush8.inc, line 214
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;
}