public function TestStateBasedSectionStorage::label in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php \Drupal\layout_builder_test\Plugin\SectionStorage\TestStateBasedSectionStorage::label()
- 9 core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php \Drupal\layout_builder_test\Plugin\SectionStorage\TestStateBasedSectionStorage::label()
Gets the label for the object using the sections.
Return value
string The label, or NULL if there is no label defined.
Overrides SectionStorageInterface::label
File
- core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ src/ Plugin/ SectionStorage/ TestStateBasedSectionStorage.php, line 108
Class
- TestStateBasedSectionStorage
- Provides a test section storage that is controlled by state.
Namespace
Drupal\layout_builder_test\Plugin\SectionStorageCode
public function label() {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}