You are here

function blockreference_field_widget_info in Block reference 7.2

Same name and namespace in other branches
  1. 7 blockreference.module \blockreference_field_widget_info()

Implements hook_field_widget_info().

File

./blockreference.field.inc, line 218

Code

function blockreference_field_widget_info() {
  return array(
    'blockreference_autocomplete' => array(
      'label' => t('Autocomplete text field'),
      'description' => t('Display the list of referenceable blocks as a textfield with autocomplete behaviour.'),
      'field types' => array(
        'blockreference',
      ),
      'settings' => array(
        'size' => 60,
        'autocomplete_path' => 'blockreference/autocomplete',
      ),
    ),
  );
}