public function ConfigPagesBlock::getMachineNameSuggestion in Config Pages 8.3
Same name and namespace in other branches
- 8 src/Plugin/Block/ConfigPagesBlock.php \Drupal\config_pages\Plugin\Block\ConfigPagesBlock::getMachineNameSuggestion()
- 8.2 src/Plugin/Block/ConfigPagesBlock.php \Drupal\config_pages\Plugin\Block\ConfigPagesBlock::getMachineNameSuggestion()
Suggests a machine name to identify an instance of this block.
The block plugin need not verify that the machine name is at all unique. It is only responsible for providing a baseline suggestion; calling code is responsible for ensuring whatever uniqueness is required for the use case.
Return value
string The suggested machine name.
Overrides BlockPluginTrait::getMachineNameSuggestion
File
- src/
Plugin/ Block/ ConfigPagesBlock.php, line 116
Class
- ConfigPagesBlock
- Provides a generic ConfigPages block.
Namespace
Drupal\config_pages\Plugin\BlockCode
public function getMachineNameSuggestion() {
return 'config_pages';
}