You are here

function ch_block_content_test_block_content_view in Acquia Content Hub 8

Implements hook_block_content_view().

File

tests/modules/ch_block_content_test/ch_block_content_test.module, line 18
A dummy module for testing custom block related hooks.

Code

function ch_block_content_test_block_content_view(array &$build, BlockContent $block_content, $view_mode) {

  // Add extra content.
  $build['hook_block_content_view']['#markup'] = '[hook_block_content_view]';
}