You are here

public function MetaNameBase::setValue in Metatag 8

Assign the current meta tag a value.

Parameters

string $value: The value to assign this meta tag.

1 method overrides MetaNameBase::setValue()
Robots::setValue in src/Plugin/metatag/Tag/Robots.php
Sets the value of this tag.

File

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

Class

MetaNameBase
Each meta tag will extend this base.

Namespace

Drupal\metatag\Plugin\metatag\Tag

Code

public function setValue($value) {
  $this->value = $value;
}