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 11.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
ActionValidationTest::providerInvalidMachineNameCharacters function core/modules/system/tests/src/Kernel/Entity/ActionValidationTest.php Action IDs are atypical in that they allow periods in the machine name.
BlockBaseTest::providerTestGetMachineNameSuggestion function core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php Provides data for testGetMachineNameSuggestion().
BlockBaseTest::testGetMachineNameSuggestion function core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php Tests the machine name suggestion.
BlockForm::getUniqueMachineName function core/modules/block/src/BlockForm.php Generates a unique machine name for a block based on a suggested string.
BlockFormTest::getBlockMockWithMachineName function core/modules/block/tests/src/Unit/BlockFormTest.php Mocks a block with a block plugin.
BlockFormTest::testGetUniqueMachineName function core/modules/block/tests/src/Unit/BlockFormTest.php Tests the unique machine name generator.
BlockPluginInterface::getMachineNameSuggestion function core/lib/Drupal/Core/Block/BlockPluginInterface.php Suggests a machine name to identify an instance of this block.
BlockPluginTrait::getMachineNameSuggestion function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockRepository::getUniqueMachineName function core/modules/block/src/BlockRepository.php
BlockRepositoryInterface::getUniqueMachineName function core/modules/block/src/BlockRepositoryInterface.php Based on a suggested string generates a unique machine name for a block.
BlockUiTest::testMachineNameSuggestion function core/modules/block/tests/src/Functional/BlockUiTest.php Tests that the BlockForm populates machine name correctly.
BlockValidationTest::providerInvalidMachineNameCharacters function core/modules/block/tests/src/Kernel/BlockValidationTest.php Block names are atypical in that they allow periods in the machine name.
Component::$machineName property core/modules/sdc/src/Plugin/Component.php The component machine name.
Component::$machineName property core/lib/Drupal/Core/Plugin/Component.php The component machine name.
ComponentMetadata::$machineName property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The machine name for the component.
ComponentMetadata::$machineName property core/modules/sdc/src/Component/ComponentMetadata.php The machine name for the component.
ConfigEntityValidationTestBase::getMachineNameConstraints function core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php Returns the validation constraints applied to the entity's ID.
ConfigEntityValidationTestBase::providerInvalidMachineNameCharacters function core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php Data provider for ::testInvalidMachineNameCharacters().
ConfigEntityValidationTestBase::testInvalidMachineNameCharacters function core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php Tests that the entity's ID is tested for invalid characters.
ConfigEntityValidationTestBase::testMachineNameLength function core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php Tests that the entity ID's length is validated if it is a machine name.
DateFormatsMachineNameTest class core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php Tests validity of date format machine names.
DateFormatsMachineNameTest.php file core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php
DateFormatsMachineNameTest::$defaultTheme property core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php The theme to install as the default for testing.
DateFormatsMachineNameTest::setUp function core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php
DateFormatsMachineNameTest::testDateFormatsMachineNameAllowedValues function core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php Tests that date formats cannot be created with invalid machine names.
DisplayAttachmentTest::testAttachmentOnAttachedMachineNameChange function core/modules/views_ui/tests/src/Functional/DisplayAttachmentTest.php Tests the attachment after changing machine name.
FormTestMachineNameForm class core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameForm.php Form constructor for testing #type 'machine_name' elements.
FormTestMachineNameForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameForm.php
FormTestMachineNameForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameForm.php Form constructor.
FormTestMachineNameForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameForm.php Returns a unique string identifying the form.
FormTestMachineNameForm::load function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameForm.php Loading stub for machine name.
FormTestMachineNameForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameForm.php Form submission handler.
FormTestMachineNameValidationForm class core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php Form to test whether machine name validation works with ajax requests.
FormTestMachineNameValidationForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php
FormTestMachineNameValidationForm::buildAjaxSnackConfigureForm function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php Handles changes to the selected snack configuration.
FormTestMachineNameValidationForm::buildAjaxSnackConfigureFormSubmit function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php Submit callback that forces a form rebuild.
FormTestMachineNameValidationForm::buildAjaxSnackConfigureFormValidate function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php Validate callback that forces a form rebuild.
FormTestMachineNameValidationForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php Form constructor.
FormTestMachineNameValidationForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php Returns a unique string identifying the form.
FormTestMachineNameValidationForm::load function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php Loading stub for machine name.
FormTestMachineNameValidationForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php Form submission handler.
LocaleContentTest::testMachineNameLTR function core/modules/locale/tests/src/Functional/LocaleContentTest.php Verifies that machine name fields are always LTR.
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.
MachineName.php file core/modules/views/src/Plugin/views/field/MachineName.php
MachineName.php file core/modules/migrate/src/Plugin/migrate/process/MachineName.php
MachineName.php file core/lib/Drupal/Core/Render/Element/MachineName.php
MachineName::$replacePattern property core/modules/migrate/src/Plugin/migrate/process/MachineName.php The regular expression pattern.
MachineName::$transliteration property core/modules/migrate/src/Plugin/migrate/process/MachineName.php The transliteration service.

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