You are here

protected function LinkMediaBase::media in Metatag 8

The dimensions supported by this icon.

Return value

string A string for the desired media type.

1 call to LinkMediaBase::media()
LinkMediaBase::output in metatag_mobile/src/Plugin/metatag/Tag/LinkMediaBase.php
Generate the HTML tag output for a meta tag.
1 method overrides LinkMediaBase::media()
AlternateHandheld::media in metatag_mobile/src/Plugin/metatag/Tag/AlternateHandheld.php
The dimensions supported by this icon.

File

metatag_mobile/src/Plugin/metatag/Tag/LinkMediaBase.php, line 35

Class

LinkMediaBase
This base plugin allows "link rel" tags with a "media" attribute.

Namespace

Drupal\metatag_mobile\Plugin\metatag\Tag

Code

protected function media() {
  return '';
}