You are here

public static function ComponentPluginTranslate::getSubscribedEvents in Layout Builder Symmetric Translations 8

File

src/EventSubscriber/ComponentPluginTranslate.php, line 56

Class

ComponentPluginTranslate
Translates the plugin configuration if needed.

Namespace

Drupal\layout_builder_st\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[LayoutBuilderEvents::SECTION_COMPONENT_BUILD_RENDER_ARRAY] = [
    'onBuildRender',
    200,
  ];
  return $events;
}