function ParamConverterManagerTest::providerTestGetConverter

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php \Drupal\Tests\Core\ParamConverter\ParamConverterManagerTest::providerTestGetConverter()
  2. 8.9.x core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php \Drupal\Tests\Core\ParamConverter\ParamConverterManagerTest::providerTestGetConverter()
  3. 10 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 115

Class

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

Namespace

Drupal\Tests\Core\ParamConverter

Code

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

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