You are here

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

Provide a random test value.

A helper function to create a random test value. Use the delimiter to create comma-separated values, or a few "words" separated by spaces.

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

Parameters

int $count: Number of "words".

int $delimiter: Delimiter used to connect "words".

Return value

mixed Return the test value, either a string or array, depending on the property.

1 method overrides SchemaMetatagTestTagInterface::testDefaultValue()
SchemaNameBase::testDefaultValue in src/SchemaNameBase.php
Provide a random test value.

File

src/SchemaMetatagTestTagInterface.php, line 96

Class

SchemaMetatagTestTagInterface
Interface SchemaMetatagTestTagInterface.

Code

public static function testDefaultValue($count = NULL, $delimiter = NULL);