You are here

function image_attach_content_extra_fields in Image 6

Implementation of hook_content_extra_fields().

File

contrib/image_attach/image_attach.module, line 823
image_attach.module

Code

function image_attach_content_extra_fields($type_name) {
  if (variable_get('image_attach_' . $type_name, 0)) {
    $extra['image_attach'] = array(
      'label' => t('Attached images'),
      'description' => t('Image Attach module form.'),
      'weight' => 0,
    );
    return $extra;
  }
}