You are here

public static function SchemaMetatagTestTagInterface::outputValue in Schema.org Metatag 7

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.

1 method overrides SchemaMetatagTestTagInterface::outputValue()
SchemaNameBase::outputValue in src/SchemaNameBase.php
Transform input value to its display output.

File

src/SchemaMetatagTestTagInterface.php, line 60

Class

SchemaMetatagTestTagInterface
Interface SchemaMetatagTestTagInterface.

Code

public static function outputValue($input_value);