Search for machineName

  1. Search 7.x for machineName
  2. Search 9.5.x for machineName
  3. Search 8.9.x for machineName
  4. Search 10.3.x for machineName
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
MachineName class core/modules/views/src/Plugin/views/field/MachineName.php Field handler which allows to show machine name content as human name.
MachineName class core/modules/migrate/src/Plugin/migrate/process/MachineName.php Creates a machine name.
MachineName class core/lib/Drupal/Core/Render/Element/MachineName.php Provides a machine name render element.

All search results

Title Object type File name Summary
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.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.