function metatags_quick_field_info in Meta tags quick 7.2
Same name and namespace in other branches
- 7 metatags_quick.module \metatags_quick_field_info()
Implements hook_field_info().
See also
http://api.drupal.org/api/drupal/modules--field--field.api.php/function/...
File
- ./
metatags_quick.module, line 114 - Quick and dirty implementation of meta tags for drupal 7 Module defines new field type 'meta'. Fields of this type are not displayed in HTML. Instead, they add html meta to the head section.
Code
function metatags_quick_field_info() {
return array(
'metatags_quick' => array(
'label' => 'Meta',
'description' => t('Meta tag to be displayed in the head section.'),
'settings' => array(
'meta_name' => '',
),
'default_widget' => 'text_textarea',
'default_formatter' => 'metatags_quick_default',
'property_type' => 'text',
'translatable' => TRUE,
),
);
}