You are here

public function HreflangBase::name in Metatag 8

The meta tag's machine name.

Return value

string This meta tag's machine name.

Overrides MetaNameBase::name

1 call to HreflangBase::name()
HreflangBase::output in metatag_hreflang/src/Plugin/metatag/Tag/HreflangBase.php
Generate the HTML tag output for a meta tag.
1 method overrides HreflangBase::name()
HreflangXDefault::name in metatag_hreflang/src/Plugin/metatag/Tag/HreflangXDefault.php
The meta tag's machine name.

File

metatag_hreflang/src/Plugin/metatag/Tag/HreflangBase.php, line 33

Class

HreflangBase
This base plugin allows "link hreflang" tags to be further customized.

Namespace

Drupal\metatag_hreflang\Plugin\metatag\Tag

Code

public function name() {
  return str_replace('hreflang_', '', parent::name());
}