You are here

function properties_compare_entity_info in Dynamic properties 7

Implements hook_entity_info().

File

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

Code

function properties_compare_entity_info() {
  if (variable_get('properties_compare_view_mode', TRUE)) {
    $return['node']['view modes'] = array(
      'properties_compare_block' => array(
        'label' => t('Properties compare block list'),
        'custom settings' => TRUE,
      ),
      'properties_compare_page' => array(
        'label' => t('Properties compare page header'),
        'custom settings' => TRUE,
      ),
    );
  }
  return $return;
}