You are here

function scald_views_handler_filter_actions::operator_form in Scald: Media Management made easy 6

Overrides operator_form: hardcode our bitwise AND, and tells Views that this filter doesn't expose an operator.

File

includes/scald_views_handler_filter_actions.inc, line 12
Provides a Views filter handler allowing to restrict the results to atoms the user can interact with.

Class

scald_views_handler_filter_actions
@file Provides a Views filter handler allowing to restrict the results to atoms the user can interact with.

Code

function operator_form(&$form, &$form_state) {
  $this->no_operator = TRUE;
  $form['operator'] = array(
    '#type' => 'value',
    '#value' => '&',
  );
}