function DefaultsSectionStorageInterface::setOverridable

Same name and namespace in other branches
  1. 8.9.x 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.