function vms_handler_filter_mlid::value_form in Views Menu Support 8
Same name and namespace in other branches
- 7 handlers/vms_handler_filter_mlid.inc \vms_handler_filter_mlid::value_form()
Provide a select list to select (replacement) value.
File
- handlers/
vms_handler_filter_mlid.inc, line 25 - Filter handler for allowing restricting integer fields based on currently active menu items (plus trails).
Class
- vms_handler_filter_mlid
- Filter to compare a field against currently active menu link item.
Code
function value_form(&$form, &$form_state) {
$form['value'] = array(
'#type' => 'select',
'#title' => t('Menu item'),
'#options' => vms_mlid_query_types(),
'#default_value' => $this->value,
);
}