function EntityResolverManagerTest::providerTestSetRouteOptionsWithStandardRouteWithArgument

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

Data provider for testSetRouteOptionsWithStandardRouteWithArgument.

File

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

Class

EntityResolverManagerTest
@coversDefaultClass \Drupal\Core\Entity\EntityResolverManager[[api-linebreak]] @group Entity

Namespace

Drupal\Tests\Core\Entity

Code

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

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