You are here

public function SchemaNameBase::value in Schema.org Metatag 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/metatag/Tag/SchemaNameBase.php \Drupal\schema_metatag\Plugin\metatag\Tag\SchemaNameBase::value()

The serialized value for the metatag.

Metatag expects a string value, so use the serialized value without unserializing it. Manually unserialize it when needed.

Overrides MetaNameBase::value

31 calls to SchemaNameBase::value()
SchemaActionBase::form in src/Plugin/metatag/Tag/SchemaActionBase.php
Generate a form element for this meta tag.
SchemaAddressBase::form in src/Plugin/metatag/Tag/SchemaAddressBase.php
Generate a form element for this meta tag.
SchemaAnswerBase::form in src/Plugin/metatag/Tag/SchemaAnswerBase.php
Generate a form element for this meta tag.
SchemaBrandBase::form in src/Plugin/metatag/Tag/SchemaBrandBase.php
Generate a form element for this meta tag.
SchemaContactPointBase::form in src/Plugin/metatag/Tag/SchemaContactPointBase.php
Generate a form element for this meta tag.

... See full list

File

src/Plugin/metatag/Tag/SchemaNameBase.php, line 114

Class

SchemaNameBase
All Schema.org tags should extend this class.

Namespace

Drupal\schema_metatag\Plugin\metatag\Tag

Code

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