public function ViewUI::postCreate in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::postCreate()
- 10 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 1118
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public function postCreate(EntityStorageInterface $storage) {
$this->storage
->postCreate($storage);
}