if (!
isset($this->original
) || ($this->
status() !=
$this->original->
status())) { \Drupal::
service('router.builder'
)->
setRebuildNeeded();
} } /**
* {@inheritdoc}
*/
public static function postLoad(EntityStorageInterface
$storage, array &
$entities) { parent::
postLoad($storage,
$entities);
foreach ($entities as $entity) { $entity->
mergeDefaultDisplaysOptions();
} } /**
* {@inheritdoc}
*/
public static function preCreate(EntityStorageInterface
$storage, array &
$values) { parent::
preCreate($storage,
$values);
// If there is no information about displays available add at least the
// default display.