MimeTypeGuesser::$sortedGuessers

Same name in other branches
  1. 9 core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php \Drupal\Core\File\MimeType\MimeTypeGuesser::sortedGuessers
  2. 8.9.x core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php \Drupal\Core\File\MimeType\MimeTypeGuesser::sortedGuessers
  3. 11.x core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php \Drupal\Core\File\MimeType\MimeTypeGuesser::sortedGuessers

Holds the array of guessers sorted by priority.

If this is NULL a rebuild will be triggered.

Type: \Symfony\Component\Mime\MimeTypeGuesserInterface[]

See also

\Drupal\Core\File\MimeType\MimeTypeGuesser::addGuesser()

\Drupal\Core\File\MimeType\MimeTypeGuesser::sortGuessers()

File

core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php, line 32

Class

MimeTypeGuesser
Defines a MIME type guesser that also supports stream wrapper paths.

Namespace

Drupal\Core\File\MimeType

Code

protected $sortedGuessers = NULL;

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