function BlockComponentRenderArrayTest::providerBlockTypes
Same name and namespace in other branches
- 8.9.x core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php \Drupal\Tests\layout_builder\Unit\BlockComponentRenderArrayTest::providerBlockTypes()
- 10 core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php \Drupal\Tests\layout_builder\Unit\BlockComponentRenderArrayTest::providerBlockTypes()
- 11.x core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php \Drupal\Tests\layout_builder\Unit\BlockComponentRenderArrayTest::providerBlockTypes()
Data provider for test functions that should test block types.
File
-
core/
modules/ layout_builder/ tests/ src/ Unit/ BlockComponentRenderArrayTest.php, line 48
Class
- BlockComponentRenderArrayTest
- @coversDefaultClass <a href="/api/drupal/core%21modules%21layout_builder%21src%21EventSubscriber%21BlockComponentRenderArray.php/class/BlockComponentRenderArray/9" title="Builds render arrays and handles access for all block components." class="local">\Drupal\layout_builder\EventSubscriber\BlockComponentRenderArray</a> @group layout_builder
Namespace
Drupal\Tests\layout_builder\UnitCode
public function providerBlockTypes() {
return [
[
TRUE,
],
[
FALSE,
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.