public function PropertyTypeInterface::outputValue in Schema.org Metatag 8.2
Transform input value to its display output.
Types 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 value after token replacement.
Return value
mixed Return the (possibly expanded) value which will be rendered in JSON-LD.
1 method overrides PropertyTypeInterface::outputValue()
- PropertyTypeBase::outputValue in src/
Plugin/ schema_metatag/ PropertyTypeBase.php - Transform input value to its display output.
File
- src/
Plugin/ schema_metatag/ PropertyTypeInterface.php, line 216
Class
- PropertyTypeInterface
- Defines an interface for property type plugins.
Namespace
Drupal\schema_metatag\Plugin\schema_metatagCode
public function outputValue($input_value);