function LayoutTempstoreRepositoryInterface::delete

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

Removes the tempstore version of a section storage.

Parameters

\Drupal\layout_builder\SectionStorageInterface $section_storage: The section storage to remove from tempstore.

1 method overrides LayoutTempstoreRepositoryInterface::delete()
LayoutTempstoreRepository::delete in core/modules/layout_builder/src/LayoutTempstoreRepository.php
Removes the tempstore version of a section storage.

File

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

Class

LayoutTempstoreRepositoryInterface
Provides an interface for loading layouts from tempstore.

Namespace

Drupal\layout_builder

Code

public function delete(SectionStorageInterface $section_storage);

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