public function DefaultsSectionStorage::setOverridable in Drupal 8
Same name and namespace in other branches
- 9 core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php \Drupal\layout_builder\Plugin\SectionStorage\DefaultsSectionStorage::setOverridable()
Sets the defaults to allow or disallow overrides.
Parameters
bool $overridable: TRUE if the display should allow overrides, FALSE otherwise.
Return value
$this
Overrides DefaultsSectionStorageInterface::setOverridable
File
- core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ DefaultsSectionStorage.php, line 356
Class
- DefaultsSectionStorage
- Defines the 'defaults' section storage type.
Namespace
Drupal\layout_builder\Plugin\SectionStorageCode
public function setOverridable($overridable = TRUE) {
$this
->getDisplay()
->setOverridable($overridable);
return $this;
}