You are here

function markup_field_info in Markup 7

Same name and namespace in other branches
  1. 6 markup.module \markup_field_info()

Implements hook_field_info().

File

./markup.module, line 11
Defines a field type for displaying markup on the node/edit form.

Code

function markup_field_info() {
  return array(
    'markup' => array(
      'label' => 'Markup',
      'description' => t('Provides field to output markup on the entities edit form'),
      'default_widget' => 'markup',
      'default_formatter' => 'markup_default',
      'settings' => array(
        'markup' => array(
          'format' => filter_default_format(),
        ),
      ),
    ),
  );
}