function BlockComponentRenderArrayTest::providerBlockTypes

Same name and namespace in other branches
  1. 10 core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php \Drupal\Tests\layout_builder\Unit\BlockComponentRenderArrayTest::providerBlockTypes()
  2. 9 core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php \Drupal\Tests\layout_builder\Unit\BlockComponentRenderArrayTest::providerBlockTypes()
  3. 8.9.x core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php \Drupal\Tests\layout_builder\Unit\BlockComponentRenderArrayTest::providerBlockTypes()
  4. main 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 54

Class

BlockComponentRenderArrayTest
Tests Drupal\layout_builder\EventSubscriber\BlockComponentRenderArray.

Namespace

Drupal\Tests\layout_builder\Unit

Code

public static function providerBlockTypes() {
  return [
    [
      TRUE,
    ],
    [
      FALSE,
    ],
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.