You are here

function akamai_block_view in Akamai 7

Same name and namespace in other branches
  1. 8 akamai.module \akamai_block_view()
  2. 8.2 akamai.module \akamai_block_view()
  3. 7.3 akamai.module \akamai_block_view()
  4. 7.2 akamai.module \akamai_block_view()

Implementation of hook_block_view().

File

./akamai.module, line 109
akamai.module Integration with the Akamai CDN Cache Control Web Service.

Code

function akamai_block_view($delta) {
  if ($delta == 'akamai') {
    $cache_control_form = drupal_get_form('akamai_page_cache_control_form');
    $block = array(
      'subject' => t('Akamai Cache Control'),
      'content' => $cache_control_form,
    );
    return $block;
  }
}