Search for getUniqueMachineName

  1. Search 7.x for getUniqueMachineName
  2. Search 9.5.x for getUniqueMachineName
  3. Search 8.9.x for getUniqueMachineName
  4. Search 10.3.x for getUniqueMachineName
  5. Other projects
Title Object type File name Summary
BlockForm::getUniqueMachineName function core/modules/block/src/BlockForm.php Generates a unique machine name for a block based on a suggested string.
BlockFormTest::testGetUniqueMachineName function core/modules/block/tests/src/Unit/BlockFormTest.php Tests the unique machine name generator.
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.

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