function LayoutBuilderIsActiveCacheContextTest::providerTestGetContext
Provides test data for ::testGetContext().
File
-
core/
modules/ layout_builder/ tests/ src/ Unit/ LayoutBuilderIsActiveCacheContextTest.php, line 97
Class
- LayoutBuilderIsActiveCacheContextTest
- @coversDefaultClass \Drupal\layout_builder\Cache\LayoutBuilderIsActiveCacheContext[[api-linebreak]]
Namespace
Drupal\Tests\layout_builder\UnitCode
public function providerTestGetContext() {
$data = [];
$data['overridden'] = [
TRUE,
'1',
];
$data['not overridden'] = [
FALSE,
'0',
];
return $data;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.