You are here

interface SectionStorageLocalTaskProviderInterface in Drupal 10

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. 9 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

1 file declares its use of SectionStorageLocalTaskProviderInterface
LayoutBuilderLocalTaskDeriver.php in core/modules/layout_builder/src/Plugin/Derivative/LayoutBuilderLocalTaskDeriver.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