class ContentNegotiation

This class is a central library for content type negotiation.

@todo Replace this class with a real content negotiation library based on mod_negotiation. Development of that is a work in progress.

Hierarchy

Expanded class hierarchy of ContentNegotiation

2 files declare their use of ContentNegotiation

File

drupal/core/lib/Drupal/Core/ContentNegotiation.php, line 18
Definition of Drupal\Core\ContentNegotiation.

Namespace

Drupal\Core
View source

Members

Namesort descending Modifiers Type Description Overrides
ContentNegotiation::getContentType public function Gets the normalized type of a request.