You are here

public function EntityResolverManagerTest::providerTestSetRouteOptionsWithStandardRoute in Drupal 9

Same name and namespace in other branches
  1. 8 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
Contains \Drupal\Tests\Core\Entity\EntityResolverManagerTest.

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',
    ],
  ];
}