You are here

function content_taxonomy_field_info in Content Taxonomy 6

Same name and namespace in other branches
  1. 5 content_taxonomy.module \content_taxonomy_field_info()
  2. 6.2 content_taxonomy.module \content_taxonomy_field_info()

Implementation of hook_field_info().

File

./content_taxonomy.module, line 45
Defines a field type for referencing a taxonomy term.

Code

function content_taxonomy_field_info() {
  return array(
    'content_taxonomy' => array(
      'label' => t('Content Taxonomy Fields'),
      'description' => t('Stores terms for nodes in the database.'),
      'callbacks' => array(
        'tables' => CONTENT_CALLBACK_DEFAULT,
        'arguments' => CONTENT_CALLBACK_DEFAULT,
      ),
    ),
  );
}