function EntityResolverManagerTest::providerTestSetRouteOptionsWithStandardRoute

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\EntityResolverManagerTest::providerTestSetRouteOptionsWithStandardRoute()
  2. 10 core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\EntityResolverManagerTest::providerTestSetRouteOptionsWithStandardRoute()
  3. 11.x core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\EntityResolverManagerTest::providerTestSetRouteOptionsWithStandardRoute()

Data provider for testSetRouteOptionsWithStandardRoute.

File

core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php, line 90

Class

EntityResolverManagerTest
@coversDefaultClass \Drupal\Core\Entity\EntityResolverManager @group Entity

Namespace

Drupal\Tests\Core\Entity

Code

public function providerTestSetRouteOptionsWithStandardRoute() {
    return [
        [
            'Drupal\\Tests\\Core\\Entity\\BasicControllerClass::exampleControllerMethod',
        ],
        [
            'Drupal\\Tests\\Core\\Entity\\test_function_controller',
        ],
    ];
}

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