You are here

public function SchemaMetatagTestTagInterface::testDefaultValue in Schema.org Metatag 8.2

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

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.

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()
PropertyTypeBase::testDefaultValue in src/Plugin/schema_metatag/PropertyTypeBase.php
Provide a random test value.

File

src/SchemaMetatagTestTagInterface.php, line 73

Class

SchemaMetatagTestTagInterface
Interface SchemaMetatagTestTagInterface.

Namespace

Drupal\schema_metatag

Code

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