function drush_core_entity_updates

8.0.x core.drush.inc drush_core_entity_updates()
master core.drush.inc drush_core_entity_updates()

Command handler. Apply pending entity schema updates.

File

commands/core/core.drush.inc, line 436
Core drush commands.

Code

function drush_core_entity_updates() {
  if (drush_get_context('DRUSH_SIMULATE')) {
    drush_log(dt('entity-updates command does not support --simpulate option.'), LogLevel::OK);
  }

  drush_include_engine('drupal', 'update');
  if (entity_updates_main() === FALSE) {
    return FALSE;
  }

  drush_drupal_cache_clear_all();

  drush_log(dt('Finished performing updates.'), LogLevel::OK);
}