Skip to content
Snippets Groups Projects
Commit 7df6e6d1 authored by project update bot's avatar project update bot Committed by Chris Burge
Browse files

Issue #3431580: Automated Drupal 11 compatibility fixes for layout_builder_component_attributes

parent 4bda92b3
No related branches found
No related tags found
1 merge request!16Automated Project Update Bot fixes
Pipeline #264806 passed with warnings
......@@ -9,7 +9,7 @@
},
"license": "GPL-2.0+",
"require": {
"drupal/core": "^9.0|^10.0",
"drupal/core": "^10.0|^11.0",
"neilime/php-css-lint": "^2.0|^3.0"
}
}
name: 'Layout Builder Component Attributes'
description: 'Allows editors to add HTML attributes to Layout Builder components (blocks)'
package: 'Layout Builder'
core_version_requirement: ^9 || ^10
core_version_requirement: ^10 || ^11
type: module
dependencies:
......
......@@ -14,7 +14,7 @@ class LayoutBuilderComponentRenderArray implements EventSubscriberInterface {
/**
* {@inheritdoc}
*/
public static function getSubscribedEvents() {
public static function getSubscribedEvents(): array {
$events[LayoutBuilderEvents::SECTION_COMPONENT_BUILD_RENDER_ARRAY] = ['onBuildRender'];
return $events;
}
......
......@@ -2,7 +2,7 @@ name: 'Layout Builder Component Attributes Test'
description: 'Provides testing functionality for Layout Builder Component Attributes'
type: module
core_version_requirement: ^9 || ^10
core_version_requirement: ^10 || ^11
dependencies:
- layout_builder_component_attributes:layout_builder_component_attributes
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment