interface SectionStorageLocalTaskProviderInterface in Drupal 8
Same name and namespace in other branches
- 9 core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageLocalTaskProviderInterface.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageLocalTaskProviderInterface
- 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
- interface \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageLocalTaskProviderInterface
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\SectionStorageView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SectionStorageLocalTaskProviderInterface:: |
public | function | Provides the local tasks dynamically for Layout Builder plugins. | 2 |