You are here

function mlidselector_field_widget_info in Views Menu Support 7

Same name and namespace in other branches
  1. 8 mlidselector.module \mlidselector_field_widget_info()

Implements hook_field_widget_info().

File

./mlidselector.module, line 10
Functions to provide a menu item reference widget for integer fields.

Code

function mlidselector_field_widget_info() {
  return array(
    'field_mlid_reference' => array(
      'label' => t('Menu item reference'),
      'field types' => array(
        'number_integer',
      ),
      'settings' => array(
        'menus' => array(),
        'show_front' => FALSE,
      ),
    ),
  );
}