public function LayoutEntityDisplayInterface::setOverridable in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/Entity/LayoutEntityDisplayInterface.php \Drupal\layout_builder\Entity\LayoutEntityDisplayInterface::setOverridable()
- 9 core/modules/layout_builder/src/Entity/LayoutEntityDisplayInterface.php \Drupal\layout_builder\Entity\LayoutEntityDisplayInterface::setOverridable()
Sets the display to allow or disallow overrides.
Parameters
bool $overridable: TRUE if the display should allow overrides, FALSE otherwise.
Return value
$this
1 method overrides LayoutEntityDisplayInterface::setOverridable()
- LayoutBuilderEntityViewDisplay::setOverridable in core/
modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php - Sets the display to allow or disallow overrides.
File
- core/
modules/ layout_builder/ src/ Entity/ LayoutEntityDisplayInterface.php, line 32
Class
- LayoutEntityDisplayInterface
- Provides an interface for entity displays that have layout.
Namespace
Drupal\layout_builder\EntityCode
public function setOverridable($overridable = TRUE);