You are here

interface SectionStorageLocalTaskProviderInterface in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageLocalTaskProviderInterface.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageLocalTaskProviderInterface
  2. 10 core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageLocalTaskProviderInterface.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageLocalTaskProviderInterface

Allows section storage plugins to provide local tasks.

Hierarchy

Expanded class hierarchy of SectionStorageLocalTaskProviderInterface

All classes that implement SectionStorageLocalTaskProviderInterface

See also

\Drupal\layout_builder\Plugin\Derivative\LayoutBuilderLocalTaskDeriver

\Drupal\layout_builder\SectionStorageInterface

2 files declare their use of SectionStorageLocalTaskProviderInterface
LayoutBuilderLocalTaskDeriver.php in core/modules/layout_builder/src/Plugin/Derivative/LayoutBuilderLocalTaskDeriver.php
SimpleConfigSectionStorage.php in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php

File

core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageLocalTaskProviderInterface.php, line 11

Namespace

Drupal\layout_builder\Plugin\SectionStorage
View source
interface SectionStorageLocalTaskProviderInterface {

  /**
   * Provides the local tasks dynamically for Layout Builder plugins.
   *
   * @param mixed $base_plugin_definition
   *   The definition of the base plugin.
   *
   * @return array
   *   An array of full derivative definitions keyed on derivative ID.
   */
  public function buildLocalTasks($base_plugin_definition);

}

Members

Namesort descending Modifiers Type Description Overrides
SectionStorageLocalTaskProviderInterface::buildLocalTasks public function Provides the local tasks dynamically for Layout Builder plugins. 2