You are here

public function EntityResolverManagerTest::providerTestSetRouteOptionsWithEntityTypeUpcasting in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\EntityResolverManagerTest::providerTestSetRouteOptionsWithEntityTypeUpcasting()

Data provider for testSetRouteOptionsWithEntityTypeUpcasting.

File

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

Class

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

Namespace

Drupal\Tests\Core\Entity

Code

public function providerTestSetRouteOptionsWithEntityTypeUpcasting() {
  return array(
    array(
      'Drupal\\Tests\\Core\\Entity\\BasicControllerClass::exampleControllerWithEntityUpcasting',
    ),
    array(
      'test_function_controller_entity_upcasting',
    ),
  );
}