You are here

function drd_server_block_info in Drupal Remote Dashboard Server 7.2

Same name and namespace in other branches
  1. 7 drd_server.module \drd_server_block_info()

Implements hook_block_info().

Return value

array An array of all blocks defined by drd_server.

File

./drd_server.module, line 229
Provides XMLRPC implementation to respond to requests from DRD.

Code

function drd_server_block_info() {
  $blocks = array();
  if (module_exists('admin')) {
    $blocks['drd'] = array(
      'info' => t('Admin Extras Dashboard'),
      'cache' => DRUPAL_CACHE_PER_ROLE,
      'admin' => TRUE,
    );
  }
  return $blocks;
}