function LayoutEntityDisplayInterface::setOverridable

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

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