You are here

public static function SchemaMetatagTestTagInterface::processedTestValue in Schema.org Metatag 8

Same name and namespace in other branches
  1. 8.2 src/SchemaMetatagTestTagInterface.php \Drupal\schema_metatag\SchemaMetatagTestTagInterface::processedTestValue()

Provide a test output value for the input value.

Tags that return values in a different format than the input, like values that are exploded, should extend this method and return a valid value.

Value must be static so the test can retrieve the value without instantiating the class.

Parameters

mixed $items: The input value, either a string or an array.

Return value

mixed Return the correct output value.

1 method overrides SchemaMetatagTestTagInterface::processedTestValue()
SchemaNameBase::processedTestValue in src/Plugin/metatag/Tag/SchemaNameBase.php
Provide a test output value for the input value.

File

src/SchemaMetatagTestTagInterface.php, line 46

Class

SchemaMetatagTestTagInterface
Interface SchemaMetatagTestTagInterface.

Namespace

Drupal\schema_metatag

Code

public static function processedTestValue($items);