You are here

public function EntityTestDefinitionSubscriber::enableLiveDefinitionUpdates in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/entity_test/src/EntityTestDefinitionSubscriber.php \Drupal\entity_test\EntityTestDefinitionSubscriber::enableLiveDefinitionUpdates()
  2. 10 core/modules/system/tests/modules/entity_test/src/EntityTestDefinitionSubscriber.php \Drupal\entity_test\EntityTestDefinitionSubscriber::enableLiveDefinitionUpdates()

Enables live definition updates.

File

core/modules/system/tests/modules/entity_test/src/EntityTestDefinitionSubscriber.php, line 221

Class

EntityTestDefinitionSubscriber
Test entity type and field storage definition event subscriber.

Namespace

Drupal\entity_test

Code

public function enableLiveDefinitionUpdates() {
  $this->updateLiveDefinitions = TRUE;
}