You are here

function apps_block_view in Apps 7

Implements hook_block_view().

File

./apps.module, line 591
Module file for Apps

Code

function apps_block_view($delta) {
  apps_include('manifest');
  apps_include('pages');
  list($type, $server_name) = explode("__", $delta);
  $server = apps_servers($server_name);
  $element = apps_manage_page($server_name);
  return array(
    'subject' => t('Installed Apps for @name', array(
      '@name' => $server['title'],
    )),
    'content' => $element,
  );
}