X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FEntity%2FEntity%2FEntityViewDisplay.php;fp=web%2Fcore%2Flib%2FDrupal%2FCore%2FEntity%2FEntity%2FEntityViewDisplay.php;h=cd36418d14ea62291363bc84db9d377d6cd9a875;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=7c7d62e04da3bfe0f5851b67efacbc7110cd41a6;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php b/web/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php index 7c7d62e04..cd36418d1 100644 --- a/web/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php +++ b/web/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php @@ -201,7 +201,7 @@ class EntityViewDisplay extends EntityDisplayBase implements EntityViewDisplayIn 'view_mode' => $this->originalMode, // No need to prepare, defaults have been merged in setComponent(). 'prepare' => FALSE, - 'configuration' => $configuration + 'configuration' => $configuration, ]); } else { @@ -301,7 +301,7 @@ class EntityViewDisplay extends EntityDisplayBase implements EntityViewDisplayIn } return [ - 'formatters' => new EntityDisplayPluginCollection($this->pluginManager, $configurations) + 'formatters' => new EntityDisplayPluginCollection($this->pluginManager, $configurations), ]; }