function media_gallery_field_extra_fields in Media Gallery 7.2
Same name and namespace in other branches
- 7 media_gallery.module \media_gallery_field_extra_fields()
Implements hook_field_extra_fields().
File
- ./
media_gallery.module, line 452
Code
function media_gallery_field_extra_fields() {
// Allow the "Add media" link to be sorted with respect to the actual media
// gallery fields.
$extra['node']['media_gallery'] = array(
'display' => array(
'add_media_link' => array(
'label' => t('"Add media" link'),
'weight' => 1,
),
),
);
return $extra;
}