You are here

function flag_broken::options_form in Flag 7.3

Same name and namespace in other branches
  1. 5 flag.inc \flag_broken::options_form()
  2. 6.2 flag.inc \flag_broken::options_form()
  3. 6 flag.inc \flag_broken::options_form()
  4. 7.2 flag.inc \flag_broken::options_form()

Provides a form for setting options.

Derived classes should want to override this.

Overrides flag_flag::options_form

File

includes/flag/flag_flag.inc, line 1620
Contains the flag_flag class. Flag type classes use an object oriented style inspired by that of Views 2.

Class

flag_broken
A dummy flag to be used where the real implementation can't be found.

Code

function options_form(&$form) {
  drupal_set_message(t("The module providing this flag wasn't found, or this flag type, %type, isn't valid.", array(
    '%type' => $this->entity_type,
  )), 'error');
  $form = array();
}