function View::postCreate

Same name in other branches
  1. 9 core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::postCreate()
  2. 8.9.x core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::postCreate()
  3. 10 core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::postCreate()

Overrides EntityBase::postCreate

File

core/modules/views/src/Entity/View.php, line 391

Class

View
Defines a View configuration entity class.

Namespace

Drupal\views\Entity

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.