You are here

protected property NegotiationMiddleware::$formats in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php \Drupal\Core\StackMiddleware\NegotiationMiddleware::formats

Contains a hashmap of format as key and mimetype as value.

Type: array

File

core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php, line 32
Contains \Drupal\Core\StackMiddleware\NegotiationMiddleware.

Class

NegotiationMiddleware
Provides a middleware to determine the content type upon the accept header.

Namespace

Drupal\Core\StackMiddleware

Code

protected $formats = [];