You are here

function paragraphs_previewer_field_widget_info in Paragraphs Previewer 7

Implements hook_field_widget_info().

File

./paragraphs_previewer.module, line 124
Provides a rendered preview of a paragraphs item on an entity form..

Code

function paragraphs_previewer_field_widget_info() {
  return array(
    'paragraphs_previewer_embed' => array(
      'label' => t('Embedded with Previewer'),
      'field types' => array(
        'paragraphs',
      ),
      'settings' => array(),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
        'default value' => FIELD_BEHAVIOR_NONE,
      ),
    ),
  );
}