Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. View.php

function View::postLoad

Overrides EntityBase::postLoad

File

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

Class

View
Defines a View configuration entity class.

Namespace

Drupal\views\Entity

Code

public static function postLoad(EntityStorageInterface $storage, array &$entities) {
    parent::postLoad($storage, $entities);
    foreach ($entities as $entity) {
        $entity->mergeDefaultDisplaysOptions();
    }
}
RSS feed
Powered by Drupal