public function BlockBaseTest::providerTestGetMachineNameSuggestion in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php \Drupal\Tests\Core\Block\BlockBaseTest::providerTestGetMachineNameSuggestion()
Provides data for testGetMachineNameSuggestion().
File
- core/
tests/ Drupal/ Tests/ Core/ Block/ BlockBaseTest.php, line 46
Class
- BlockBaseTest
- @coversDefaultClass \Drupal\Core\Block\BlockBase @group block
Namespace
Drupal\Tests\Core\BlockCode
public function providerTestGetMachineNameSuggestion() {
return [
[
'Admin label',
'adminlabel',
],
[
'über åwesome',
'uberawesome',
],
];
}