You are here

public function DependentAccessTest::providerTestSetFirst in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/block_content/tests/src/Unit/Access/DependentAccessTest.php \Drupal\Tests\block_content\Unit\Access\DependentAccessTest::providerTestSetFirst()

Dataprovider for all test methods.

Provides test cases for calling setAccessDependency() or mergeAccessDependency() first. A call to either should behave the same on a new RefinableDependentAccessInterface object.

File

core/modules/block_content/tests/src/Unit/Access/DependentAccessTest.php, line 143

Class

DependentAccessTest
@coversDefaultClass \Drupal\block_content\Access\RefinableDependentAccessTrait

Namespace

Drupal\Tests\block_content\Unit\Access

Code

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