function EntityResolverManagerTest::providerTestSetRouteOptionsWithEntityTypeUpcasting

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\EntityResolverManagerTest::providerTestSetRouteOptionsWithEntityTypeUpcasting()
  2. 10 core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\EntityResolverManagerTest::providerTestSetRouteOptionsWithEntityTypeUpcasting()
  3. 11.x 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

Class

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

Namespace

Drupal\Tests\Core\Entity

Code

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

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