You are here

function tweet_feed_menu_page in Tweet Feed 7.3

Administrative Portal

When the root Tweet Feed option is selected, it presents a list of the tools available to be configured.

1 string reference to 'tweet_feed_menu_page'
tweet_feed_menu in ./tweet_feed.module
Implements hook_menu().

File

./tweet_feed_admin.inc, line 9

Code

function tweet_feed_menu_page() {
  $all_blocks = array();
  $blocks = system_admin_menu_block(array(
    'tab_root' => 'admin/config/services/tweet_feed',
    'path' => 'admin/config/services/tweet_feed',
  ));
  foreach ($blocks as $key => $block) {
    $new_block = $block;
    $new_block['show'] = TRUE;
    $all_blocks[] = $new_block;
  }
  $block_out['content'] = theme('admin_block_content', array(
    'content' => $all_blocks,
  ));
  $block_out['title'] = t('Tweet Feed Configuration');
  $block_out['show'] = TRUE;
  return theme('admin_page', array(
    'blocks' => array(
      $block_out,
    ),
  ));
}