public function SectionStorageManagerTest::providerTestFindByContext in Drupal 9
Same name and namespace in other branches
- 8 core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php \Drupal\Tests\layout_builder\Unit\SectionStorageManagerTest::providerTestFindByContext()
Provides test data for ::testFindByContext().
File
- core/
modules/ layout_builder/ tests/ src/ Unit/ SectionStorageManagerTest.php, line 195
Class
- SectionStorageManagerTest
- @coversDefaultClass \Drupal\layout_builder\SectionStorage\SectionStorageManager
Namespace
Drupal\Tests\layout_builder\UnitCode
public function providerTestFindByContext() {
// Data provider values are:
// - the result for the plugin's isApplicable() method to return.
$data = [];
$data['plugin access: true'] = [
TRUE,
];
$data['plugin access: false'] = [
FALSE,
];
return $data;
}