function StubNegotiationMiddleware::getContentType

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php \Drupal\Tests\Core\StackMiddleware\StubNegotiationMiddleware::getContentType()
  2. 10 core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php \Drupal\Tests\Core\StackMiddleware\StubNegotiationMiddleware::getContentType()
  3. 11.x core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php \Drupal\Tests\Core\StackMiddleware\StubNegotiationMiddleware::getContentType()

Overrides NegotiationMiddleware::getContentType

File

core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php, line 154

Class

StubNegotiationMiddleware

Namespace

Drupal\Tests\Core\StackMiddleware

Code

public function getContentType(Request $request) {
    return parent::getContentType($request);
}

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