You are here

function FancyFileDeleteOrphanFileFilter::value_form in Fancy File Delete 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::value_form

See also

options_form()

File

views/inc/FancyFileDeleteOrphanFileFilter.inc, line 9
Fancy File Delete Orphan Files Views Settings.

Class

FancyFileDeleteOrphanFileFilter
@file Fancy File Delete Orphan Files Views Settings.

Code

function value_form(&$form, &$form_state) {
  parent::value_form($form, $form_state);

  // Hide default behavoir just in case.
  $form['expose_button']['#access'] = FALSE;
  $form['more']['#access'] = FALSE;
  $form['orphan_text'] = array(
    '#type' => 'item',
    '#markup' => t('This is just a custom query filter no need for any configuration.'),
  );
}