function SectionStorageManagerTest::providerTestFindByContext
Same name in other branches
- 9 core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php \Drupal\Tests\layout_builder\Unit\SectionStorageManagerTest::providerTestFindByContext()
- 10 core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php \Drupal\Tests\layout_builder\Unit\SectionStorageManagerTest::providerTestFindByContext()
- 11.x 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 253
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.