You are here

public static function SchemaMetatagManagerInterface::randomMachineName in Schema.org Metatag 7

Generates a unique random string containing letters and numbers.

Parameters

int $length: Length of random string to generate.

Return value

string Randomly generated unique string.

1 method overrides SchemaMetatagManagerInterface::randomMachineName()
SchemaMetatagManager::randomMachineName in src/SchemaMetatagManager.php
Generates a unique random string containing letters and numbers.

File

src/SchemaMetatagManagerInterface.php, line 188

Class

SchemaMetatagManagerInterface
Interface SchemaMetatagManagerInterface.

Code

public static function randomMachineName($length = 8);