function DefaultsSectionStorageTest::providerTestGetSectionListFromId
Provides data for ::testGetSectionListFromId().
File
-
core/
modules/ layout_builder/ tests/ src/ Unit/ DefaultsSectionStorageTest.php, line 194
Class
- DefaultsSectionStorageTest
- @coversDefaultClass \Drupal\layout_builder\Plugin\SectionStorage\DefaultsSectionStorage
Namespace
Drupal\Tests\layout_builder\UnitCode
public function providerTestGetSectionListFromId() {
$data = [];
$data['with value'] = [
TRUE,
'foo.bar.baz',
'foo.bar.baz',
];
$data['without value, empty defaults'] = [
FALSE,
NULL,
'',
];
return $data;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.