function EntityResolverManagerTest::providerTestSetRouteOptionsWithEntityTypeNoUpcasting

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

Data provider for testSetRouteOptionsWithEntityTypeNoUpcasting.

File

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

Class

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

Namespace

Drupal\Tests\Core\Entity

Code

public function providerTestSetRouteOptionsWithEntityTypeNoUpcasting() {
    return [
        [
            'Drupal\\Tests\\Core\\Entity\\BasicControllerClass::exampleControllerWithEntityNoUpcasting',
        ],
        [
            'Drupal\\Tests\\Core\\Entity\\test_function_controller_no_upcasting',
        ],
    ];
}

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