function FileMediaFormatterBase::getHtmlTag
Gets the HTML tag for the formatter.
Return value
string The HTML tag of this formatter.
1 call to FileMediaFormatterBase::getHtmlTag()
- FileMediaFormatterBase::settingsForm in core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ FileMediaFormatterBase.php - Returns a form to configure settings for the formatter.
File
-
core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ FileMediaFormatterBase.php, line 24
Class
- FileMediaFormatterBase
- Base class for media file formatter.
Namespace
Drupal\file\Plugin\Field\FieldFormatterCode
protected function getHtmlTag() {
return static::getMediaType();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.