You are here

public function PanelsDisplayManager::exportDisplay in Panels 8.4

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

Export configuration from a panels display.

Parameters

\Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant $display: The panels display.

Return value

array Configuration exported from the display.

Overrides PanelsDisplayManagerInterface::exportDisplay

File

src/PanelsDisplayManager.php, line 93

Class

PanelsDisplayManager
A service that manages Panels displays.

Namespace

Drupal\panels

Code

public function exportDisplay(PanelsDisplayVariant $display) {
  return $display
    ->getConfiguration();
}