You are here

public function EntityResolverManagerTest::providerTestSetRouteOptionsWithContentController 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::providerTestSetRouteOptionsWithContentController()

Data provider for testSetRouteOptionsWithContentController.

File

core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php, line 150
Contains \Drupal\Tests\Core\Entity\EntityResolverManagerTest.

Class

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

Namespace

Drupal\Tests\Core\Entity

Code

public function providerTestSetRouteOptionsWithContentController() {
  return [
    [
      'Drupal\\Tests\\Core\\Entity\\BasicControllerClass::exampleControllerMethodWithArgument',
    ],
    [
      'Drupal\\Tests\\Core\\Entity\\test_function_controller_with_argument',
    ],
  ];
}