Drupal\Core\File\MimeType\MimeTypeGuesser::addGuesser
source-derived authoritative record
Projected verbatim from an official Drupal source snapshot. It is authoritative evidence about Drupal, but it is not a Drupal Knowledge rule.
method deprecated in 9.1.0, removed from 10.0.0
Record api-lifecycle.e670f7f95336dba5
What this is
- What is this
- source-derived authoritative record: Drupal\Core\File\MimeType\MimeTypeGuesser::addGuesser
- Why it exists
- Drupal core annotates this symbol with a deprecation, and api.drupal.org publishes the annotation.
- What makes it authoritative
- Projected verbatim from an official Drupal source snapshot. It is authoritative evidence about Drupal, but it is not a Drupal Knowledge rule.
- Project scope
- Nothing: this record is about Drupal, not about any one project.
- Recommended next step
- Check whether your custom code uses the symbol with `dk migration-analyze`; a deprecation matters only where the code actually calls it.
- Was anything changed
- No. Querying Drupal Knowledge changes nothing.
What is not known
- Nothing was left unstated by this record.
What the record states
| Drupal core file | core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php |
|---|---|
| Deprecated in | 9.1.0 |
| Kind | method |
| Fully qualified name | Drupal\Core\File\MimeType\MimeTypeGuesser::addGuesser |
| Removed from | 10.0.0 |
| Replacement | ::addMimeTypeGuesser() |
| Replacement state | stated |
| Symbol | MimeTypeGuesser::addGuesser |
Provenance
The snapshot digest identifies the exact bytes this record was derived from, so the claim can be checked rather than believed.
- authoritative_source · drupal-api-deprecated-9-p2
https://api.drupal.org/api/drupal/deprecated/9
snapshotsha256:9b9b29988d9a578f1c1aa42e199468eb01c48ec4d1f47e0d04720e494547288c
Related records
Only relationships the canonical records already declare. Nothing here is inferred.