function LayoutTempstoreRepositoryInterface::has

Same name in other branches
  1. 9 core/modules/layout_builder/src/LayoutTempstoreRepositoryInterface.php \Drupal\layout_builder\LayoutTempstoreRepositoryInterface::has()
  2. 8.9.x core/modules/layout_builder/src/LayoutTempstoreRepositoryInterface.php \Drupal\layout_builder\LayoutTempstoreRepositoryInterface::has()
  3. 11.x core/modules/layout_builder/src/LayoutTempstoreRepositoryInterface.php \Drupal\layout_builder\LayoutTempstoreRepositoryInterface::has()

Checks for the existence of a tempstore version of a section storage.

Parameters

\Drupal\layout_builder\SectionStorageInterface $section_storage: The section storage to check for in tempstore.

Return value

bool TRUE if there is a tempstore version of this section storage.

File

core/modules/layout_builder/src/LayoutTempstoreRepositoryInterface.php, line 42

Class

LayoutTempstoreRepositoryInterface
Provides an interface for loading layouts from tempstore.

Namespace

Drupal\layout_builder

Code

public function has(SectionStorageInterface $section_storage);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.