From 6d3d6500d51338bbb1d96000ab2f65fc7664c9a7 Mon Sep 17 00:00:00 2001 From: webchick <drupal@webchick.net> Date: Mon, 25 Mar 2019 13:08:25 -0700 Subject: [PATCH] #2948828 follow-up by Wim Leers: Minor style fixes to comments. (cherry picked from commit 399f5950d60ad0ff6bc08555665f99152b2b74bc) --- core/modules/layout_builder/src/QuickEditIntegration.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/layout_builder/src/QuickEditIntegration.php b/core/modules/layout_builder/src/QuickEditIntegration.php index d429f252ab82..ac6de1296252 100644 --- a/core/modules/layout_builder/src/QuickEditIntegration.php +++ b/core/modules/layout_builder/src/QuickEditIntegration.php @@ -159,8 +159,8 @@ public function entityViewAlter(array &$build, EntityInterface $entity, EntityVi } } } - // Alter the view_mode of all fields outside of the Layout Builder - // sections to force QuickEdit to request to field metadata. + // Alter the Quick Edit view mode ID of all fields outside of the Layout + // Builder sections to force Quick Edit to request to the field metadata. // @todo Remove this logic in https://www.drupal.org/project/node/2966136. foreach (Element::children($build) as $field_name) { if ($field_name !== '_layout_builder') { -- GitLab