public static function SchemaMetatagManagerInterface::randomMachineName in Schema.org Metatag 8
Same name and namespace in other branches
- 8.2 src/SchemaMetatagManagerInterface.php \Drupal\schema_metatag\SchemaMetatagManagerInterface::randomMachineName()
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 192
Class
- SchemaMetatagManagerInterface
- Interface SchemaMetatagManagerInterface.
Namespace
Drupal\schema_metatagCode
public static function randomMachineName($length = 8);