function EntityResolverManagerTest::providerTestSetRouteOptionsWithEntityTypeUpcasting
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\EntityResolverManagerTest::providerTestSetRouteOptionsWithEntityTypeUpcasting()
- 10 core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\EntityResolverManagerTest::providerTestSetRouteOptionsWithEntityTypeUpcasting()
- 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\EntityCode
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.