You are here

function text_field_info in Content Construction Kit (CCK) 6.2

Same name and namespace in other branches
  1. 5 text.module \text_field_info()
  2. 6.3 modules/text/text.module \text_field_info()
  3. 6 examples/simple_field.php \text_field_info()
  4. 6 examples/example_field.php \text_field_info()
  5. 6 modules/text/text.module \text_field_info()

Implementation of hook_field_info().

File

modules/text/text.module, line 42
Defines simple text field types.

Code

function text_field_info() {
  return array(
    'text' => array(
      'label' => t('Text'),
      'description' => t('Store text in the database.'),
    ),
  );
}