function EntityResolverManagerTest::providerTestSetRouteOptionsWithUnionEntityType

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

Data provider for testSetRouteOptionsWithUnionEntityType.

File

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

Class

EntityResolverManagerTest
Tests Drupal\Core\Entity\EntityResolverManager.

Namespace

Drupal\Tests\Core\Entity

Code

public static function providerTestSetRouteOptionsWithUnionEntityType() : array {
  return [
    [
      'Drupal\\Tests\\Core\\Entity\\BasicControllerClass::exampleControllerWithEntityUnionType',
    ],
    [
      'Drupal\\Tests\\Core\\Entity\\test_function_controller_entity_union_type',
    ],
  ];
}

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