function help_block_view_help_block_alter
Same name in other branches
- 9 core/modules/help/help.module \help_block_view_help_block_alter()
- 8.9.x core/modules/help/help.module \help_block_view_help_block_alter()
Implements hook_block_view_BASE_BLOCK_ID_alter().
File
-
core/
modules/ help/ help.module, line 99
Code
function help_block_view_help_block_alter(array &$build, BlockPluginInterface $block) {
// Assume that most users do not need or want to perform contextual actions on
// the help block, so don't needlessly draw attention to it.
unset($build['#contextual_links']);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.