You are here

function static_field_field_widget_info in Static field 7

Implements hook_field_widget_info(). A dummy widget.

File

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

Code

function static_field_field_widget_info() {
  return array(
    'static_field' => array(
      'label' => t('Static'),
      'description' => t("If 'Display also in form' was set, this widget will display the static content of the field as an 'item' or 'markup' form element."),
      'field types' => array(
        'static_field',
      ),
    ),
  );
}