function LayoutBuilderOverridableInterface::setOverridable
Sets the display to allow or disallow overrides.
Parameters
bool $overridable: TRUE if the display should allow overrides, FALSE otherwise.
Return value
$this
2 methods override LayoutBuilderOverridableInterface::setOverridable()
- DefaultsSectionStorage::setOverridable in core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ DefaultsSectionStorage.php - Sets the display to allow or disallow overrides.
- 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/ LayoutBuilderOverridableInterface.php, line 26
Class
- LayoutBuilderOverridableInterface
- Provides an interface for displays that could be overridable.
Namespace
Drupal\layout_builderCode
public function setOverridable($overridable = TRUE);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.