function HelpHooks::blockViewHelpBlockAlter
Implements hook_block_view_BASE_BLOCK_ID_alter().
Attributes
#[Hook('block_view_help_block_alter')]
File
- 
              core/modules/ help/ src/ Hook/ HelpHooks.php, line 119 
Class
- HelpHooks
- Hook implementations for help.
Namespace
Drupal\help\HookCode
public function blockViewHelpBlockAlter(array &$build, BlockPluginInterface $block) : void {
  // 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.
