Skip to content
Snippets Groups Projects

Resolve #3520495 "Drupal 11 compatibility"

3 files
+ 8
4
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -14,7 +14,7 @@ class JSComponentBuildEventSubscribe implements EventSubscriberInterface {
/**
* {@inheritDoc}
*/
public static function getSubscribedEvents() {
public static function getSubscribedEvents(): array {
return [
Events::BUILD_COMPONENT_DATA => [
['buildJSComponentData'],
Loading