function AccessManagerTest::providerCheckException

Same name and namespace in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php \Drupal\Tests\Core\Access\AccessManagerTest::providerCheckException()
  2. 10 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 516

Class

AccessManagerTest
@coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Access%21AccessManager.php/class/AccessManager/9" title="Attaches access check services to routes and runs them on request." class="local">\Drupal\Core\Access\AccessManager</a> @group Access

Namespace

Drupal\Tests\Core\Access

Code

public 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.