function AccessManagerTest::providerCheckException

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php \Drupal\Tests\Core\Access\AccessManagerTest::providerCheckException()
  2. 8.9.x core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php \Drupal\Tests\Core\Access\AccessManagerTest::providerCheckException()
  3. 11.x core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php \Drupal\Tests\Core\Access\AccessManagerTest::providerCheckException()

Data provider for testCheckException.

Return value

array

File

core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php, line 510

Class

AccessManagerTest
@coversDefaultClass \Drupal\Core\Access\AccessManager[[api-linebreak]] @group Access

Namespace

Drupal\Tests\Core\Access

Code

public static function providerCheckException() {
  return [
    [
      [
        1,
      ],
    ],
    [
      'string',
    ],
    [
      0,
    ],
    [
      1,
    ],
  ];
}

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