You are here

public function PanelsStorageManagerInterface::load in Panels 8.3

Same name and namespace in other branches
  1. 8.4 src/Storage/PanelsStorageManagerInterface.php \Drupal\panels\Storage\PanelsStorageManagerInterface::load()

Loads a Panels display.

Parameters

string $storage_type: The storage type used by the storage plugin.

string $id: The id within the storage plugin for the requested Panels display.

Return value

\Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant|NULL The Panels display if one exists with this id; NULL otherwise.

1 method overrides PanelsStorageManagerInterface::load()
PanelsStorageManager::load in src/Storage/PanelsStorageManager.php
Loads a Panels display.

File

src/Storage/PanelsStorageManagerInterface.php, line 40

Class

PanelsStorageManagerInterface
Interface for the Panels storage manager service.

Namespace

Drupal\panels\Storage

Code

public function load($storage_type, $id);