You are here

class flag_broken in Flag 7.2

Same name and namespace in other branches
  1. 5 flag.inc \flag_broken
  2. 6.2 flag.inc \flag_broken
  3. 6 flag.inc \flag_broken
  4. 7.3 includes/flag/flag_flag.inc \flag_broken

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

Hierarchy

Expanded class hierarchy of flag_broken

File

./flag.inc, line 1848
Implements various flags. Uses object oriented style inspired by that of Views 2.

View source
class flag_broken extends flag_flag {
  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->content_type,
    )), 'error');
    $form = array();
  }

}

Members