You are here

function quotes_field_extra_fields in Quotes 7

Implements hook_field_extra_fields().

File

./quotes.module, line 2493
The quotes module allows users to maintain a list of quotes that can be displayed in any number of administrator-defined quote blocks.

Code

function quotes_field_extra_fields() {
  $extra['node']['quotes'] = array(
    'display' => array(
      'quotes_author' => array(
        'label' => t('Quotes author'),
        'description' => t('Quote Authors'),
        'weight' => 5,
      ),
      'quotes_citation' => array(
        'label' => t('Quotes citation'),
        'description' => t('Quote citationss'),
        'weight' => 10,
      ),
      'quotes_bio' => array(
        'label' => t('Quotes bio'),
        'description' => t('Author biography'),
        'weight' => -90,
      ),
    ),
  );
  return $extra;
}