You are here

function properties_compare_block_view in Dynamic properties 7

Implements hook_block_view().

File

properties_compare/properties_compare.module, line 241
Module file for privatemsg_compare module.

Code

function properties_compare_block_view($delta = '') {
  if ($delta == 'compare_list') {

    // Do not display the block on the properties/compare page.
    if ($list = properties_compare_list()) {
      return array(
        'subject' => t('Compare list'),
        'content' => drupal_get_form('properties_compare_list_form', $list),
      );
    }
  }
}