You are here

public function LayoutEntityDisplayInterface::setOverridable in Drupal 9

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

Sets the display to allow or disallow overrides.

Parameters

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

Return value

$this

1 method overrides LayoutEntityDisplayInterface::setOverridable()
LayoutBuilderEntityViewDisplay::setOverridable in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
Sets the display to allow or disallow overrides.

File

core/modules/layout_builder/src/Entity/LayoutEntityDisplayInterface.php, line 32

Class

LayoutEntityDisplayInterface
Provides an interface for entity displays that have layout.

Namespace

Drupal\layout_builder\Entity

Code

public function setOverridable($overridable = TRUE);