function LayoutBuilderIsActiveCacheContextTest::providerTestGetContext
Same name in other branches
- 9 core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php \Drupal\Tests\layout_builder\Unit\LayoutBuilderIsActiveCacheContextTest::providerTestGetContext()
- 10 core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php \Drupal\Tests\layout_builder\Unit\LayoutBuilderIsActiveCacheContextTest::providerTestGetContext()
Provides test data for ::testGetContext().
File
-
core/
modules/ layout_builder/ tests/ src/ Unit/ LayoutBuilderIsActiveCacheContextTest.php, line 99
Class
- LayoutBuilderIsActiveCacheContextTest
- @coversDefaultClass \Drupal\layout_builder\Cache\LayoutBuilderIsActiveCacheContext
Namespace
Drupal\Tests\layout_builder\UnitCode
public static 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.