You are here

public function PanelsDisplayManagerInterface::importDisplay in Panels 8.4

Same name and namespace in other branches
  1. 8.3 src/PanelsDisplayManagerInterface.php \Drupal\panels\PanelsDisplayManagerInterface::importDisplay()

Creates a panels display from exported configuration.

Parameters

array $config: The configuration exported from display variant.

bool $validate: Whether or not to validate against the configuration again the schema.

Return value

\Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant

1 method overrides PanelsDisplayManagerInterface::importDisplay()
PanelsDisplayManager::importDisplay in src/PanelsDisplayManager.php
Creates a panels display from exported configuration.

File

src/PanelsDisplayManagerInterface.php, line 39

Class

PanelsDisplayManagerInterface
Interface for a service that manages Panels displays.

Namespace

Drupal\panels

Code

public function importDisplay(array $config, $validate = TRUE);