You are here

function imagepicker_block_view in Image Picker 7

Implements hook_block_view().

This hook generates the contents of the blocks themselves.

File

./imagepicker.module, line 620
@author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function imagepicker_block_view($delta = '') {
  if ($delta) {
    $block = array(
      'subject' => imagepicker_variable_get('imagepicker_galleryblocks_title_' . $delta, t('Gallery !i', array(
        '!i' => $delta,
      ))),
      'content' => imagepicker_display_block($delta),
    );
    return $block;
  }
  return array();
}