function other_view_filter_handler_filter_view::value_form in OtherView Filter 7
Options form subform for setting options.
This should be overridden by all child classes and it must define $form['value'].
Overrides views_handler_filter_in_operator::value_form
See also
options_form()
File
- ./
other_view_filter_handler_filter_view.inc, line 87 - Definition of views_handler_filter_entity_other_view filter.
Class
- other_view_filter_handler_filter_view
- Filter class which allows to filter by certain bundles of an entity.
Code
function value_form(&$form, &$form_state) {
parent::value_form($form, $form_state);
unset($form['value']['#options']['all']);
$form['user_warning'] = array(
'#markup' => t('Using more than 1 view in "@input" section will strongly decrease your site performance.', array(
'@input' => t('View: display'),
)),
'#prefix' => '<div class="messages warning">',
'#suffix' => '</div>',
'#weight' => -999,
);
}