You are here

public function PageManagerSectionStorage::getSectionListFromId in Page Manager 8.4

Derives the section list from the storage ID.

@internal This should only be called during section storage instantiation.

Parameters

string $id: The storage ID, see ::getStorageId().

Return value

\Drupal\layout_builder\SectionListInterface The section list.

Throws

\InvalidArgumentException Thrown if the ID is invalid.

Overrides SectionStorageInterface::getSectionListFromId

Deprecated

in drupal:8.7.0 and is removed from drupal:9.0.0. The section list should be derived from context. See https://www.drupal.org/node/3016262.

File

src/Plugin/SectionStorage/PageManagerSectionStorage.php, line 233

Class

PageManagerSectionStorage
Defines the 'page_manager' section storage type.

Namespace

Drupal\page_manager\Plugin\SectionStorage

Code

public function getSectionListFromId($id) {

  // @todo
  // This is deprecated and can be removed before Drupal 9.0.0.
}