public function ConfigEntityRevisionsConfigTrait::__wakeup in Config Entity Revisions 8
Same name and namespace in other branches
- 1.x 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');
}