public function BoundDisplayInterface::generateUnboundDisplay

Returns an entity with the non-layout-specific configuration of this one.

Parameters

string $id: The entity id to assign to the newly created entity.

string $entity_type: The type of entity to create. The PHP class for this entity type must implement \Drupal\layout\Config\UnboundDisplayInterface.

Return value

\Drupal\layout\Config\UnboundDisplayInterface The newly-created unbound display.

1 method overrides BoundDisplayInterface::generateUnboundDisplay()
Display::generateUnboundDisplay in drupal/core/modules/layout/lib/Drupal/layout/Plugin/Core/Entity/Display.php
Implements BoundDisplayInterface::generateUnboundDisplay().

File

drupal/core/modules/layout/lib/Drupal/layout/Config/BoundDisplayInterface.php, line 87
Definition of Drupal\layout\Config\BoundDisplayInterface

Class

BoundDisplayInterface
Interface for a Display object that is coupled to a specific layout.

Namespace

Drupal\layout\Config

Code

public function generateUnboundDisplay($id, $entity_type = 'unbound_display');