function View::postLoad
Same name in other branches
- 9 core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::postLoad()
- 8.9.x 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 364
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.