function View::postLoad
Same name in other branches
- 8.9.x core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::postLoad()
- 10 core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::postLoad()
- 11.x core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::postLoad()
Overrides EntityBase::postLoad
File
-
core/
modules/ views/ src/ Entity/ View.php, line 363
Class
- View
- Defines a View configuration entity class.
Namespace
Drupal\views\EntityCode
public static function postLoad(EntityStorageInterface $storage, array &$entities) {
parent::postLoad($storage, $entities);
foreach ($entities as $entity) {
$entity->mergeDefaultDisplaysOptions();
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.