This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/lb_ux.module b/lb_ux.module | |
| index 8e1dc19..4b544f0 100644 | |
| --- a/lb_ux.module | |
| +++ b/lb_ux.module | |
| @@ -12,10 +12,28 @@ use Drupal\lb_ux\Form\FormAlter; | |
| use Drupal\lb_ux\Plugin\Block\InlineBlockUX; | |
| /** | |
| - * Implements hook_element_plugin_alter(). | |
| + * Implements hook_module_implements_alter(). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/README.md b/README.md | |
| index 30164f9..b58fc1e 100644 | |
| --- a/README.md | |
| +++ b/README.md | |
| @@ -47,6 +47,15 @@ For your local environment, you can override the surrogate key header limit, whi | |
| `$config['pantheon_advanced_page_cache.settings']['surrogate_key_header_limit'] = 10000;` | |
| +## Disabling - Minify Cache Tags | |
| + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/core/modules/responsive_image/responsive_image.module b/core/modules/responsive_image/responsive_image.module | |
| index 85a2ff94dd..e7b7a65bf6 100644 | |
| --- a/core/modules/responsive_image/responsive_image.module | |
| +++ b/core/modules/responsive_image/responsive_image.module | |
| @@ -223,6 +223,12 @@ function template_preprocess_responsive_image(&$variables) { | |
| $variables['img_element']['#title'] = $variables['attributes']['title']; | |
| unset($variables['attributes']['title']); | |
| } | |
| + if (isset($variables['img_element']['#width'])) { | |
| + $variables['attributes']['width'] = $variables['img_element']['#width']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/core/modules/system/src/Access/SystemAdminMenuBlockAccessCheck.php b/core/modules/system/src/Access/SystemAdminMenuBlockAccessCheck.php | |
| index a527605ea7..ebc880bd2d 100644 | |
| --- a/core/modules/system/src/Access/SystemAdminMenuBlockAccessCheck.php | |
| +++ b/core/modules/system/src/Access/SystemAdminMenuBlockAccessCheck.php | |
| @@ -84,12 +84,9 @@ protected function hasAccessToChildMenuItems(MenuLinkInterface $link, AccountInt | |
| $tree = $this->menuLinkTree->load(NULL, $parameters); | |
| - if (empty($tree)) { | |
| - $route = $this->router->getRouteCollection()->get($link->getRouteName()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/Controller/MediaEntityFileRedirectController.php b/src/Controller/MediaEntityFileRedirectController.php | |
| index 9e9c31d..b112b8f 100644 | |
| --- a/src/Controller/MediaEntityFileRedirectController.php | |
| +++ b/src/Controller/MediaEntityFileRedirectController.php | |
| @@ -55,6 +55,12 @@ class MediaEntityFileRedirectController implements ContainerInjectionInterface { | |
| if ($mediaType && $mediaType->getSource() instanceof File && $mediaType->getThirdPartySetting('media_entity_file_redirect', 'enabled', FALSE)) { | |
| // Now load the file and return a redirect response to the file URL. | |
| $fid = $media->getSource()->getSourceFieldValue($media); | |
| + if (empty($fid) && !is_null($media->field_document)) { | |
| + $fid = $media->field_document->target_id; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/config/schema/jsonapi_reference.schema.yml b/config/schema/jsonapi_reference.schema.yml | |
| index 98a8eca..5a18a2c 100644 | |
| --- a/config/schema/jsonapi_reference.schema.yml | |
| +++ b/config/schema/jsonapi_reference.schema.yml | |
| @@ -2,13 +2,19 @@ field.storage_settings.typed_resource_object: | |
| type: mapping | |
| label: 'Typed resource object storage settings' | |
| mapping: | |
| + jsonapi_reference_entity: | |
| + type: string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/Element/LayoutBuilderUX.php b/src/Element/LayoutBuilderUX.php | |
| index 642d15e..09de869 100644 | |
| --- a/src/Element/LayoutBuilderUX.php | |
| +++ b/src/Element/LayoutBuilderUX.php | |
| @@ -29,7 +29,7 @@ class LayoutBuilderUX implements TrustedCallbackInterface { | |
| $section_label = $build['#attributes']['aria-label']; | |
| $build['configure']['#title'] = t('<span class="visually-hidden">Configure @section</span>', ['@section' => $section_label]); | |
| - $build['configure']['#url'] = Url::fromRoute('layout_builder.configure_section_form', $build['configure']['#url']->getRouteParameters()); | |
| + $build['configure']['#url'] = empty($build['configure']['#url']) ? NULL : Url::fromRoute('layout_builder.configure_section_form', $build['configure']['#url']->getRouteParameters()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/Utils/DrupalApi.php b/src/Utils/DrupalApi.php | |
| index 57a97d1a5..f39308be8 100644 | |
| --- a/src/Utils/DrupalApi.php | |
| +++ b/src/Utils/DrupalApi.php | |
| @@ -263,7 +263,8 @@ public function drupal_rebuild($class_loader, \Symfony\Component\HttpFoundation\ | |
| $kernel->invalidateContainer(); | |
| // Prepare a NULL request. | |
| - $kernel->prepareLegacyRequest($request); | |
| + $kernel->boot(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/migrate_api.info.yml b/migrate_api.info.yml | |
| index 53e7a5c..623e7ac 100644 | |
| --- a/migrate_api.info.yml | |
| +++ b/migrate_api.info.yml | |
| @@ -1,11 +1,10 @@ | |
| name: Migrate API | |
| description: Migrate API provodes additional functionality on-top of cores Migrate. | |
| type: module | |
| -# core: 8.x | |
| +core_version_requirement: ^8 || ^9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/file_version.info.yml b/file_version.info.yml | |
| index 2ff4eb5..03add15 100644 | |
| --- a/file_version.info.yml | |
| +++ b/file_version.info.yml | |
| @@ -1,5 +1,5 @@ | |
| name: File Version | |
| -# core: 8.x | |
| +core_version_requirement: ^8.8 || ^9 | |
| description: Add simple token in files urls based on file modified time to ease cache files in CDNs. | |
| type: module |
NewerOlder