You are here

function lightning_workflow_update_8002 in Lightning Workflow 8

Same name and namespace in other branches
  1. 8.3 lightning_workflow.install \lightning_workflow_update_8002()
  2. 8.2 lightning_workflow.install \lightning_workflow_update_8002()

Clears the entity type definition cache.

File

./lightning_workflow.install, line 67
Contains installation and update routines for Lightning Workflow.

Code

function lightning_workflow_update_8002() {
  \Drupal::entityTypeManager()
    ->clearCachedDefinitions();
}