OptionsFieldUITest::testMachineNameSpecialCharacters |
function |
core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUITest.php |
Tests `list_string` machine name with special characters. |
Random::$machineNames |
property |
core/lib/Drupal/Component/Utility/Random.php |
A list of unique names generated by machineName(). |
Random::machineName |
function |
core/tests/Drupal/TestTools/Random.php |
Generates a unique random string containing letters and numbers. |
Random::machineName |
function |
core/lib/Drupal/Component/Utility/Random.php |
Generates a string containing lowercase letters and numbers. |
RandomGeneratorTrait::randomMachineName |
function |
core/tests/Drupal/Tests/RandomGeneratorTrait.php |
Generates a unique random string containing letters and numbers. |
RandomTest::testRandomMachineNameException |
function |
core/tests/Drupal/Tests/Component/Utility/RandomTest.php |
Tests infinite loop prevention whilst generating random names. |
RandomTest::testRandomMachineNameNonUnique |
function |
core/tests/Drupal/Tests/Component/Utility/RandomTest.php |
Tests random name generation if uniqueness is not enforced. |
RandomTest::testRandomMachineNamesUniqueness |
function |
core/tests/Drupal/Tests/Component/Utility/RandomTest.php |
Tests unique random name generation. |
ShortcutSetValidationTest::providerInvalidMachineNameCharacters |
function |
core/modules/shortcut/tests/src/Kernel/ShortcutSetValidationTest.php |
Shortcut set IDs are atypical: they allow dashes and disallow underscores. |
TourValidationTest::providerInvalidMachineNameCharacters |
function |
core/modules/tour/tests/src/Kernel/TourValidationTest.php |
Tour IDs are atypical in that they allow dashes in the machine name. |
ViewsBlock::getMachineNameSuggestion |
function |
core/modules/views/src/Plugin/Block/ViewsBlock.php |
|
ViewsBlockTest::testMachineNameSuggestion |
function |
core/modules/views/tests/src/Kernel/Plugin/ViewsBlockTest.php |
Tests that ViewsBlock::getMachineNameSuggestion() produces the right value. |
WorkflowUiTest::testStateMachineNameValidation |
function |
core/modules/workflows/tests/src/Functional/WorkflowUiTest.php |
Tests the machine name validation of the state add form. |