function drush_devel_entity_updates in Devel Entity Updates 8.2
Same name and namespace in other branches
- 8 drush/devel_entity_updates.drush8.inc \drush_devel_entity_updates()
- 3.x drush/devel_entity_updates.drush8.inc \drush_devel_entity_updates()
- 3.0.x drush/devel_entity_updates.drush8.inc \drush_devel_entity_updates()
Command handler. Apply pending entity schema updates.
File
- drush/
devel_entity_updates.drush8.inc, line 42 - Drush8 commands definitions.
Code
function drush_devel_entity_updates() {
if (drush_get_context('DRUSH_SIMULATE')) {
drush_log(dt('devel-entity-updates command does not support --simulate option.'), LogLevel::OK);
}
drush_include_engine('drupal', 'update');
if (devel_entity_updates_main() === FALSE) {
return FALSE;
}
drush_drupal_cache_clear_all();
drush_log(dt('Finished performing updates.'), LogLevel::OK);
return NULL;
}