You are here

public function DefaultsSectionStorageInterface::setOverridable in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/DefaultsSectionStorageInterface.php \Drupal\layout_builder\DefaultsSectionStorageInterface::setOverridable()
  2. 10 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);