3 namespace Drupal\layout_builder\Plugin\SectionStorage;
6 * Allows section storage plugins to provide local tasks.
8 * @see \Drupal\layout_builder\Plugin\Derivative\LayoutBuilderLocalTaskDeriver
9 * @see \Drupal\layout_builder\SectionStorageInterface
12 * Layout Builder is currently experimental and should only be leveraged by
13 * experimental modules and development releases of contributed modules.
14 * See https://www.drupal.org/core/experimental for more information.
16 interface SectionStorageLocalTaskProviderInterface {
19 * Provides the local tasks dynamically for Layout Builder plugins.
21 * @param mixed $base_plugin_definition
22 * The definition of the base plugin.
25 * An array of full derivative definitions keyed on derivative ID.
27 public function buildLocalTasks($base_plugin_definition);