class FileAudioFormatter
Same name in other branches
- 9 core/modules/file/src/Plugin/Field/FieldFormatter/FileAudioFormatter.php \Drupal\file\Plugin\Field\FieldFormatter\FileAudioFormatter
- 8.9.x core/modules/file/src/Plugin/Field/FieldFormatter/FileAudioFormatter.php \Drupal\file\Plugin\Field\FieldFormatter\FileAudioFormatter
- 11.x core/modules/file/src/Plugin/Field/FieldFormatter/FileAudioFormatter.php \Drupal\file\Plugin\Field\FieldFormatter\FileAudioFormatter
Plugin implementation of the 'file_audio' formatter.
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
- class \Drupal\Core\Field\PluginSettingsBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\Core\Field\PluginSettingsInterface, \Drupal\Component\Plugin\DependentPluginInterface
- class \Drupal\Core\Field\FormatterBase extends \Drupal\Core\Field\PluginSettingsBase implements \Drupal\Core\Field\FormatterInterface, \Drupal\Core\Plugin\ContainerFactoryPluginInterface
- class \Drupal\Core\Field\Plugin\Field\FieldFormatter\EntityReferenceFormatterBase extends \Drupal\Core\Field\FormatterBase
- class \Drupal\file\Plugin\Field\FieldFormatter\FileFormatterBase extends \Drupal\Core\Field\Plugin\Field\FieldFormatter\EntityReferenceFormatterBase
- class \Drupal\file\Plugin\Field\FieldFormatter\FileMediaFormatterBase extends \Drupal\file\Plugin\Field\FieldFormatter\FileFormatterBase implements \Drupal\file\Plugin\Field\FieldFormatter\FileMediaFormatterInterface
- class \Drupal\file\Plugin\Field\FieldFormatter\FileAudioFormatter extends \Drupal\file\Plugin\Field\FieldFormatter\FileMediaFormatterBase
- class \Drupal\file\Plugin\Field\FieldFormatter\FileMediaFormatterBase extends \Drupal\file\Plugin\Field\FieldFormatter\FileFormatterBase implements \Drupal\file\Plugin\Field\FieldFormatter\FileMediaFormatterInterface
- class \Drupal\file\Plugin\Field\FieldFormatter\FileFormatterBase extends \Drupal\Core\Field\Plugin\Field\FieldFormatter\EntityReferenceFormatterBase
- class \Drupal\Core\Field\Plugin\Field\FieldFormatter\EntityReferenceFormatterBase extends \Drupal\Core\Field\FormatterBase
- class \Drupal\Core\Field\FormatterBase extends \Drupal\Core\Field\PluginSettingsBase implements \Drupal\Core\Field\FormatterInterface, \Drupal\Core\Plugin\ContainerFactoryPluginInterface
- class \Drupal\Core\Field\PluginSettingsBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\Core\Field\PluginSettingsInterface, \Drupal\Component\Plugin\DependentPluginInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
Expanded class hierarchy of FileAudioFormatter
File
-
core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ FileAudioFormatter.php, line 11
Namespace
Drupal\file\Plugin\Field\FieldFormatterView source
class FileAudioFormatter extends FileMediaFormatterBase {
/**
* {@inheritdoc}
*/
public static function getMediaType() {
return 'audio';
}
}
Members
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.