diff --git a/core/modules/settings_tray/settings_tray.module b/core/modules/settings_tray/settings_tray.module index bcd7f81c04..208e1efc5d 100644 --- a/core/modules/settings_tray/settings_tray.module +++ b/core/modules/settings_tray/settings_tray.module @@ -106,12 +106,12 @@ function settings_tray_entity_type_build(array &$entity_types) { * Implements hook_preprocess_HOOK() for block templates. */ function settings_tray_preprocess_block(&$variables) { - // Only blocks that have an settings_tray form will have a "Quick Edit" link. - // We could wait for the contextual links to be initialized on the client - // side, and then add the class and data- attribute below there (via - // JavaScript). But that would mean that it would be impossible to show - // Settings Tray's clickable regions immediately when the page loads. When - // latency is high, this will cause flicker. + // Only blocks that have a settings_tray form and have no configuration + // overrides will have a "Quick Edit" link. We could wait for the contextual + // links to be initialized on the client side, and then add the class and + // data- attribute below there (via JavaScript). But that would mean that it + // would be impossible to show Settings Tray's clickable regions immediately + // when the page loads. When latency is high, this will cause flicker. // @see \Drupal\settings_tray\Access\BlockPluginHasSettingsTrayFormAccessCheck /** @var \Drupal\settings_tray\Access\BlockPluginHasSettingsTrayFormAccessCheck $access_checker */ $access_checker = \Drupal::service('access_check.settings_tray.block.settings_tray_form');