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. |
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 |
|
BlockUiTest::testMachineNameSuggestion |
function |
core/modules/block/tests/src/Functional/BlockUiTest.php |
Tests that the BlockForm populates machine name correctly. |
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. |
FeedAdminDisplayTest::randomMachineName |
function |
core/modules/aggregator/tests/src/Functional/FeedAdminDisplayTest.php |
Generates a unique random string containing letters and numbers. |
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::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/migrate/src/Plugin/migrate/process/MachineName.php |
Creates a machine name. |
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/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/lib/Drupal/Core/Render/Element/MachineName.php |
|
MachineName.php |
file |
core/modules/migrate/src/Plugin/migrate/process/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. |
MachineName::$valueOptions |
property |
core/modules/views/src/Plugin/views/field/MachineName.php |
Stores the available options. |
MachineName::buildOptionsForm |
function |
core/modules/views/src/Plugin/views/field/MachineName.php |
Default option form that provides label widget that all fields should have. |
MachineName::create |
function |
core/modules/migrate/src/Plugin/migrate/process/MachineName.php |
Creates an instance of the plugin. |
MachineName::defineOptions |
function |
core/modules/views/src/Plugin/views/field/MachineName.php |
Information about options for all kinds of purposes will be held here. |
MachineName::getInfo |
function |
core/lib/Drupal/Core/Render/Element/MachineName.php |
Returns the element properties for this element. |
MachineName::getValueOptions |
function |
core/modules/views/src/Plugin/views/field/MachineName.php |
|
MachineName::preRender |
function |
core/modules/views/src/Plugin/views/field/MachineName.php |
Runs before any fields are rendered. |
MachineName::processMachineName |
function |
core/lib/Drupal/Core/Render/Element/MachineName.php |
Processes a machine-readable name form element. |
MachineName::render |
function |
core/modules/views/src/Plugin/views/field/MachineName.php |
Renders the field. |
MachineName::transform |
function |
core/modules/migrate/src/Plugin/migrate/process/MachineName.php |
Performs the associated process. |
MachineName::validateMachineName |
function |
core/lib/Drupal/Core/Render/Element/MachineName.php |
Form element validation handler for machine_name elements. |
MachineName::valueCallback |
function |
core/lib/Drupal/Core/Render/Element/MachineName.php |
Determines how user input is mapped to an element's #value property. |
MachineName::__construct |
function |
core/modules/migrate/src/Plugin/migrate/process/MachineName.php |
Constructs a MachineName plugin. |