You are here

function static_field_field_formatter_info in Static field 7

Implements hook_field_formatter_info().

File

./static_field.module, line 91
Static field main module file.

Code

function static_field_field_formatter_info() {
  return array(
    'static_field' => array(
      'label' => t('Static as markup'),
      'description' => t("Render only the static content (the field value) without the field label. It uses the '#markup' form element type."),
      'field types' => array(
        'static_field',
      ),
    ),
  );
}