You are here

function drd_server_block_view in Drupal Remote Dashboard Server 7.2

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

Implements hook_block_view().

Parameters

string $delta: The string defining the block that should be received.

Return value

mixed Either a renderable array for the block referenced by delta or FALSE if that block is either empty or the current user has no permission to access that block.

File

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

Code

function drd_server_block_view($delta) {
  switch ($delta) {
    case 'drd':
      module_load_include('inc', 'drd_server', 'drd_server.admin');
      return drd_server_admin_block();
  }
  return FALSE;
}