You are here

public function ParamConverterManagerTest::providerTestGetConverter in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php \Drupal\Tests\Core\ParamConverter\ParamConverterManagerTest::providerTestGetConverter()

Provide data for parameter converter manager tests.

Return value

array An array of arrays, each containing the input parameters for providerTestResolvers::testGetConverter().

See also

ParamConverterManagerTest::testGetConverter().

File

core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php, line 118
Contains \Drupal\Tests\Core\ParamConverter\ParamConverterManagerTest.

Class

ParamConverterManagerTest
@coversDefaultClass \Drupal\Core\ParamConverter\ParamConverterManager @group ParamConverter

Namespace

Drupal\Tests\Core\ParamConverter

Code

public function providerTestGetConverter() {
  return array(
    array(
      'ape',
      'ApeConverterClass',
    ),
    array(
      'cat',
      'CatConverterClass',
    ),
    array(
      'puppy',
      'PuppyConverterClass',
    ),
    array(
      'llama',
      'LlamaConverterClass',
    ),
    array(
      'giraffe',
      'GiraffeConverterClass',
    ),
    array(
      'zebra',
      'ZebraConverterClass',
    ),
    array(
      'eagle',
      'EagleConverterClass',
    ),
  );
}