BlockForm::getUniqueMachineName |
function |
core/modules/block/src/BlockForm.php |
Generates a unique machine name for a block based on a suggested string. |
BlockRepository::getUniqueMachineName |
function |
core/modules/block/src/BlockRepository.php |
|
BlockFormTest::testGetUniqueMachineName |
function |
core/modules/block/tests/src/Unit/BlockFormTest.php |
Tests the unique machine name generator. |
BlockRepositoryInterface::getUniqueMachineName |
function |
core/modules/block/src/BlockRepositoryInterface.php |
Based on a suggested string generates a unique machine name for a block. |