function 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[[api-linebreak]]
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.