public function LayoutOptionInterface::getLayoutById in Bootstrap Layout Builder 2.x
Same name and namespace in other branches
- 1.x src/LayoutOptionInterface.php \Drupal\bootstrap_layout_builder\LayoutOptionInterface::getLayoutById()
Get layout entity by Id.
Parameters
string $layout_id: The layout id.
Return value
object The layout entity.
1 method overrides LayoutOptionInterface::getLayoutById()
- LayoutOption::getLayoutById in src/
Entity/ LayoutOption.php - Get layout entity by Id.
File
- src/
LayoutOptionInterface.php, line 110
Class
- LayoutOptionInterface
- Provides an interface defining a layout option entity.
Namespace
Drupal\bootstrap_layout_builderCode
public function getLayoutById($layout_id);