You are here

function entity_usage_update_8202 in Entity Usage 8.3

Same name and namespace in other branches
  1. 8.4 entity_usage.install \entity_usage_update_8202()
  2. 8.2 entity_usage.install \entity_usage_update_8202()

Trigger entity usage statistics in the new schema.

File

./entity_usage.install, line 170
Install, update and uninstall functions for entity_usage module.

Code

function entity_usage_update_8202(&$sandbox) {

  // This flag is here only to ensure that sites that have already executed
  // update 8202 will not run entity_usage_post_update_regenerate_2x() again.
  \Drupal::state()
    ->set('entity_usage_2x_regenerate', TRUE);
}