public function ConfigEntityRevisionsConfigTrait::__wakeup in Config Entity Revisions 1.x
Same name and namespace in other branches
- 8 src/ConfigEntityRevisionsConfigTrait.php \Drupal\config_entity_revisions\ConfigEntityRevisionsConfigTrait::__wakeup()
Restore the entity type manager after deserialisation.
File
- src/
ConfigEntityRevisionsConfigTrait.php, line 21
Class
Namespace
Drupal\config_entity_revisionsCode
public function __wakeup() {
$this->entityTypeManager = \Drupal::service('entity_type.manager');
}