You are here

function _biblio_field_extra_fields in Bibliography Module 7.2

Same name and namespace in other branches
  1. 7 includes/biblio.fields.inc \_biblio_field_extra_fields()
1 call to _biblio_field_extra_fields()
biblio_field_extra_fields in ./biblio.module
Implements hook_field_extra_fields().

File

includes/biblio.fields.inc, line 2

Code

function _biblio_field_extra_fields() {
  foreach (biblio_types('biblio_contributor') as $type => $info) {
    $extras['biblio_contributor'][$type] = array(
      'display' => array(
        'view_all_by_contributor' => array(
          'label' => t('"View all biblios by contributor" link'),
          'description' => t('Link on contributor entity view that takes the user to a page of all biblios from which a contributor is referenced.'),
          'weight' => 10,
        ),
      ),
    );
  }
  return $extras;
}