You are here

public function LayoutTempstoreRepositoryInterface::has in Drupal 8

Same name and namespace in other branches
  1. 9 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.

1 method overrides LayoutTempstoreRepositoryInterface::has()
LayoutTempstoreRepository::has in core/modules/layout_builder/src/LayoutTempstoreRepository.php
Checks for the existence of a tempstore version of a 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);