interface SectionStorageLocalTaskProviderInterface

Same name in other branches
  1. 9 core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageLocalTaskProviderInterface.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageLocalTaskProviderInterface
  2. 8.9.x core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageLocalTaskProviderInterface.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageLocalTaskProviderInterface
  3. 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

3 files declare their use of SectionStorageLocalTaskProviderInterface
LayoutBuilderLocalTaskDeriver.php in core/modules/layout_builder/src/Plugin/Derivative/LayoutBuilderLocalTaskDeriver.php
NavigationSectionStorage.php in core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.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

Title Sort descending Modifiers Object type Summary Overrides
SectionStorageLocalTaskProviderInterface::buildLocalTasks public function Provides the local tasks dynamically for Layout Builder plugins. 3

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.