From c5820f126be3b2c5d1f27539dbe7dee04b6cd93a Mon Sep 17 00:00:00 2001 From: Lee Rowlands Date: Tue, 22 Oct 2024 14:35:26 +1000 Subject: [PATCH] Issue #3475753 by quietone: Use install/uninstall in layout builder expose all field --- .../layout_builder_expose_all_field_blocks.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/modules/layout_builder/modules/layout_builder_expose_all_field_blocks/layout_builder_expose_all_field_blocks.module b/core/modules/layout_builder/modules/layout_builder_expose_all_field_blocks/layout_builder_expose_all_field_blocks.module index 8da8050c57e..71e00e37171 100644 --- a/core/modules/layout_builder/modules/layout_builder_expose_all_field_blocks/layout_builder_expose_all_field_blocks.module +++ b/core/modules/layout_builder/modules/layout_builder_expose_all_field_blocks/layout_builder_expose_all_field_blocks.module @@ -14,10 +14,10 @@ function layout_builder_expose_all_field_blocks_help($route_name, RouteMatchInte switch ($route_name) { case 'help.page.layout_builder_expose_all_field_blocks': $output = '

' . t('About') . '

'; - $output .= '

' . t('The Layout Builder Expose All Field Blocks module is a Feature Flag module which, when enabled, exposes all fields on all bundles as field blocks for use in Layout Builder.') . '

'; - $output .= '

' . t('Leaving this module enabled can significantly affect the performance of medium to large sites due to the number of Field Block plugins that will be created. It is recommended to turn it off if possible.') . '

'; - $output .= '

' . t('While it is recommended to turn this module off, note that this may remove blocks that are already being used in existing site configurations.') . '

'; - $output .= '

' . t("For example, if you have Layout Builder enabled on a Node bundle (Content type), and that bundle's display is using field blocks from the User entity (e.g the Author's name), but Layout Builder is not enabled for the User bundle, then that field block would no longer exist after disabling this module.") . '

'; + $output .= '

' . t('The Layout Builder Expose All Field Blocks module is a Feature Flag module which exposes all fields on all bundles as field blocks for use in Layout Builder.') . '

'; + $output .= '

' . t('Using this feature can significantly reduce the performance of medium to large sites due to the number of Field Block plugins that will be created. It is recommended to uninstall this module, if possible.') . '

'; + $output .= '

' . t('While it is recommended to uninstall this module, doing so may remove blocks that are being used in your site.') . '

'; + $output .= '

' . t("For example, if Layout Builder is enabled on a Node bundle (Content type), and that bundle's display is using field blocks from the User entity (e.g. the Author's name), but Layout Builder is not enabled for the User bundle, then that field block would no longer exist after uninstalling this module.") . '

'; $output .= '

' . t('For more information, see the online documentation for the Layout Builder Expose All Field Blocks module.', [':href' => 'https://www.drupal.org/node/3223395#s-layout-builder-expose-all-field-blocks']) . '

'; return $output; }