You are here

public function ContentTypeHeaderMatcherTest::providerTestSafeRequestFilter in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php \Drupal\Tests\Core\Routing\ContentTypeHeaderMatcherTest::providerTestSafeRequestFilter()
  2. 9 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',
    ],
  ];
}