You are here

public function ViewUI::postCreate in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::postCreate()

Acts on a created entity before hooks are invoked.

Used after the entity is created, but before saving the entity and before any of the presave hooks are invoked.

See the Entity CRUD topic for more information.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object.

Overrides EntityInterface::postCreate

See also

\Drupal\Core\Entity\EntityInterface::create()

File

core/modules/views_ui/src/ViewUI.php, line 1101

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function postCreate(EntityStorageInterface $storage) {
  $this->storage
    ->postCreate($storage);
}