public function MimeDetectorBase::description in MimeDetect 8
Provide a description of the detector.
Return value
string The MIME detector description.
Overrides MimeDetectorInterface::description
File
- src/
MimeDetectorBase.php, line 18
Class
- MimeDetectorBase
- A base class for mime detector plugins.
Namespace
Drupal\mimedetectCode
public function description() {
// Retrieve the @description property from the annotation and return it.
return $this->pluginDefinition['description'];
}