public function SchemaNameBase::value in Schema.org Metatag 8.2
Same name and namespace in other branches
- 8 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
2 calls to SchemaNameBase::value()
- SchemaNameBase::getInputValues in src/
Plugin/ metatag/ Tag/ SchemaNameBase.php - Get default values used to create a form element.
- SchemaNameBase::output in src/
Plugin/ metatag/ Tag/ SchemaNameBase.php - Generate the HTML tag output for a meta tag.
File
- src/
Plugin/ metatag/ Tag/ SchemaNameBase.php, line 199
Class
- SchemaNameBase
- All Schema.org tags should extend this class.
Namespace
Drupal\schema_metatag\Plugin\metatag\TagCode
public function value() {
return $this->value;
}