1 field_permission_example.module field_permission_example_field_widget_info()

Implements hook_field_widget_info().

We're implementing just one widget: A basic textarea.

See also

field_permission_example_field_widget_form()

Related topics

File

modules/examples/field_permission_example/field_permission_example.module, line 254
Hook implementations for the Field Permission Example module.

Code

function field_permission_example_field_widget_info() {
  return array(
    'field_permission_example_widget' => array(
      'label' => t('Field note textarea'),
      'field types' => array('field_permission_example_fieldnote'),
    ),
  );
}