You are here

function signaturefield_field_info in SignatureField 6

Same name and namespace in other branches
  1. 7.2 includes/field.inc \signaturefield_field_info()
  2. 7 includes/field.inc \signaturefield_field_info()

Implementation of hook_field_info().

File

modules/content.inc, line 14
Content module integration.

Code

function signaturefield_field_info() {
  return array(
    // The machine name of the field,
    // no more than 32 characters.
    'signaturefield' => array(
      // The human-readable label of the field that will be
      // seen in the Manage fields screen.
      'label' => t('Signature field'),
      // A description of what type of data the field stores.
      'description' => t('Store a signature in the database.'),
      // An icon to use in Panels.
      'content_icon' => 'icon_content_text.png',
    ),
  );
}