function DefaultsSectionStorage::setOverridable
Sets the display to allow or disallow overrides.
Parameters
bool $overridable: TRUE if the display should allow overrides, FALSE otherwise.
Return value
$this
Overrides LayoutBuilderOverridableInterface::setOverridable
File
- 
              core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ DefaultsSectionStorage.php, line 324  
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.