Content negotiation library.
Type: \Drupal\Core\ContentNegotiation
File
- drupal/core/lib/Drupal/Core/Routing/Enhancer/ContentControllerEnhancer.php, line 24
- Contains \Drupal\Core\Routing\Enhancer\ContentControllerEnhancer.
Class
- ContentControllerEnhancer
- Enhances a route to select a controller based on the mime type of the request.
Namespace
Drupal\Core\Routing\Enhancer
Code
protected $negotiation;