You are here

public function View::postCreate in Zircon Profile 8.0

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

Acts on an entity after it is created but before hooks are invoked.

Parameters

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

Overrides Entity::postCreate

File

core/modules/views/src/Entity/View.php, line 393
Contains \Drupal\views\Entity\View.

Class

View
Defines a View configuration entity class.

Namespace

Drupal\views\Entity

Code

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