You are here

function workbench_moderation_handler_filter_user_can_moderate::options_form in Workbench Moderation 7.3

Same name and namespace in other branches
  1. 7 includes/workbench_moderation_handler_filter_user_can_moderate.inc \workbench_moderation_handler_filter_user_can_moderate::options_form()

Provide the basic form which calls through to subforms.

If overridden, it is best to call through to the parent, or to at least make sure all of the functions in this form are called.

Overrides views_handler_filter::options_form

File

includes/workbench_moderation_handler_filter_user_can_moderate.inc, line 8
Filter based on moderation privlieges.

Class

workbench_moderation_handler_filter_user_can_moderate
@file Filter based on moderation privlieges.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  drupal_set_message(t("This filter isn't even possible right now since workbench moderation permissions are incomplete--there's no way to figure out what transitions a user may make for a particular type of content."), 'error');
}