You are here

public function DefaultsSectionStorageInterface::setOverridable in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/DefaultsSectionStorageInterface.php \Drupal\layout_builder\DefaultsSectionStorageInterface::setOverridable()

Sets the defaults to allow or disallow overrides.

Parameters

bool $overridable: TRUE if the display should allow overrides, FALSE otherwise.

Return value

$this

1 method overrides DefaultsSectionStorageInterface::setOverridable()
DefaultsSectionStorage::setOverridable in core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php
Sets the defaults to allow or disallow overrides.

File

core/modules/layout_builder/src/DefaultsSectionStorageInterface.php, line 30

Class

DefaultsSectionStorageInterface
Defines an interface for an object that stores layout sections for defaults.

Namespace

Drupal\layout_builder

Code

public function setOverridable($overridable = TRUE);