function ContentTypeHeaderMatcherTest::providerTestSafeRequestFilter

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php \Drupal\Tests\Core\Routing\ContentTypeHeaderMatcherTest::providerTestSafeRequestFilter()
  2. 10 core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php \Drupal\Tests\Core\Routing\ContentTypeHeaderMatcherTest::providerTestSafeRequestFilter()
  3. 11.x core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php \Drupal\Tests\Core\Routing\ContentTypeHeaderMatcherTest::providerTestSafeRequestFilter()

File

core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php, line 58

Class

ContentTypeHeaderMatcherTest
Confirm that the content types partial matcher is functioning properly.

Namespace

Drupal\Tests\Core\Routing

Code

public function providerTestSafeRequestFilter() {
    return [
        [
            'GET',
        ],
        [
            'HEAD',
        ],
        [
            'OPTIONS',
        ],
        [
            'TRACE',
        ],
        [
            'DELETE',
        ],
    ];
}

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