protected function LayoutListBuilder::getLayoutBuilderUrl in Layout builder library 8
1 call to LayoutListBuilder::getLayoutBuilderUrl()
- LayoutListBuilder::getDefaultOperations in src/
Entity/ LayoutListBuilder.php - Gets this list's default operations.
File
- src/
Entity/ LayoutListBuilder.php, line 124
Class
- LayoutListBuilder
- Defines a list builder for layouts.
Namespace
Drupal\layout_library\EntityCode
protected function getLayoutBuilderUrl(Layout $layout) {
return Url::fromRoute("layout_builder.layout_library.{$layout->getTargetEntityType()}.view", $this
->getRouteParameters($layout));
}