public static function SchemaNameBase::outputValue in Schema.org Metatag 8
Same name and namespace in other branches
- 8.2 src/Plugin/metatag/Tag/SchemaNameBase.php \Drupal\schema_metatag\Plugin\metatag\Tag\SchemaNameBase::outputValue()
Transform input value to its display output.
Tags that need to transform the output to something different than the stored value should extend this method and do the transformation here.
Parameters
mixed $input_value: Input value, could be either a string or array. This will be the unserialized value stored in the tag configuration, after token replacement.
Return value
mixed Return the (possibly expanded) value which will be rendered in JSON-LD.
Overrides SchemaMetatagTestTagInterface::outputValue
1 call to SchemaNameBase::outputValue()
- SchemaNameBase::output in src/
Plugin/ metatag/ Tag/ SchemaNameBase.php - Generate the HTML tag output for a meta tag.
2 methods override SchemaNameBase::outputValue()
- SchemaDurationBase::outputValue in src/
Plugin/ metatag/ Tag/ SchemaDurationBase.php - Transform input value to its display output.
- SchemaItemListElementBase::outputValue in src/
Plugin/ metatag/ Tag/ SchemaItemListElementBase.php - Transform input value to its display output.
File
- src/
Plugin/ metatag/ Tag/ SchemaNameBase.php, line 230
Class
- SchemaNameBase
- All Schema.org tags should extend this class.
Namespace
Drupal\schema_metatag\Plugin\metatag\TagCode
public static function outputValue($input_value) {
return $input_value;
}