You are here

function om_maximenu_block_view in OM Maximenu 7

Same name and namespace in other branches
  1. 8 om_maximenu.module \om_maximenu_block_view()

Implementation of hook_block_view().

File

./om_maximenu.module, line 181
OM Maximenu.

Code

function om_maximenu_block_view($delta = '') {

  // rendered om maximenu variable
  $content = om_maximenu_block_load($delta);
  if (!empty($content)) {
    $block = array();
    $block['subject'] = $content['title'];
    $block['content'] = $content['content'];
    return $block;
  }
}