namespace Drupal\layout_builder;
use Drupal\Component\Plugin\PluginInspectionInterface;
+use Drupal\Core\Access\AccessibleInterface;
use Symfony\Component\Routing\RouteCollection;
/**
* experimental modules and development releases of contributed modules.
* See https://www.drupal.org/core/experimental for more information.
*/
-interface SectionStorageInterface extends SectionListInterface, PluginInspectionInterface {
+interface SectionStorageInterface extends SectionListInterface, PluginInspectionInterface, AccessibleInterface {
/**
* Returns an identifier for this storage.
/**
* Gets the URL used to display the Layout Builder UI.
*
+ * @param string $rel
+ * (optional) The link relationship type, for example: 'view' or 'disable'.
+ * Defaults to 'view'.
+ *
* @return \Drupal\Core\Url
* The URL object.
*/
- public function getLayoutBuilderUrl();
+ public function getLayoutBuilderUrl($rel = 'view');
/**
* Configures the plugin based on route values.