You are here

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\mimedetect

Code

public function description() {

  // Retrieve the @description property from the annotation and return it.
  return $this->pluginDefinition['description'];
}