You are here

public function MetaNameBase::type in Metatag 8

Obtain this meta tag's type.

Return value

string This meta tag's type.

2 calls to MetaNameBase::type()
MetaNameBase::form in src/Plugin/metatag/Tag/MetaNameBase.php
Generate a form element for this meta tag.
MetaNameBase::output in src/Plugin/metatag/Tag/MetaNameBase.php
Generate the HTML tag output for a meta tag.

File

src/Plugin/metatag/Tag/MetaNameBase.php, line 200

Class

MetaNameBase
Each meta tag will extend this base.

Namespace

Drupal\metatag\Plugin\metatag\Tag

Code

public function type() {
  return $this->type;
}