X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Ffield_ui%2Fsrc%2FForm%2FEntityViewDisplayEditForm.php;h=36499af31553bca8cafa7f707977805292a02d41;hb=1c1cb0980bfa6caf0c24cce671b6bb541dc87583;hp=c27f3d4f524e31f450ec883e8feb68c494110ae8;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php b/web/core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php index c27f3d4f5..36499af31 100644 --- a/web/core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php +++ b/web/core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php @@ -11,6 +11,8 @@ use Symfony\Component\DependencyInjection\ContainerInterface; /** * Edit form for the EntityViewDisplay entity type. + * + * @internal */ class EntityViewDisplayEditForm extends EntityDisplayFormBase { @@ -71,8 +73,8 @@ class EntityViewDisplayEditForm extends EntityDisplayFormBase { // Insert an empty placeholder for the label column. $label = [ 'empty_cell' => [ - '#markup' => ' ' - ] + '#markup' => ' ', + ], ]; $label_position = array_search('plugin', array_keys($extra_field_row)); $extra_field_row = array_slice($extra_field_row, 0, $label_position, TRUE) + $label + array_slice($extra_field_row, $label_position, count($extra_field_row) - 1, TRUE); @@ -111,7 +113,7 @@ class EntityViewDisplayEditForm extends EntityDisplayFormBase { /** * {@inheritdoc} */ - protected function getDisplayModesLink() {; + protected function getDisplayModesLink() { return [ '#type' => 'link', '#title' => t('Manage view modes'),