You are here

public static function SchemaNameBase::processedTestValue in Schema.org Metatag 7

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.

Overrides SchemaMetatagTestTagInterface::processedTestValue

17 methods override SchemaNameBase::processedTestValue()
SchemaActionBase::processedTestValue in src/SchemaActionBase.php
Provide a test output value for the input value.
SchemaAnswerBase::processedTestValue in src/SchemaAnswerBase.php
Provide a test output value for the input value.
SchemaCountryBase::processedTestValue in src/SchemaCountryBase.php
Provide a test output value for the input value.
SchemaCreativeWorkBase::processedTestValue in src/SchemaCreativeWorkBase.php
Provide a test output value for the input value.
SchemaEntryPointBase::processedTestValue in src/SchemaEntryPointBase.php
Provide a test output value for the input value.

... See full list

File

src/SchemaNameBase.php, line 241

Class

SchemaNameBase
All Schema.org tags should extend this class.

Code

public static function processedTestValue($items) {
  return $items;
}