You are here

function flag_handler_relationship_counts::options_form in Flag 7.3

Same name and namespace in other branches
  1. 6.2 includes/flag_handler_relationships.inc \flag_handler_relationship_counts::options_form()
  2. 6 includes/flag_handler_relationships.inc \flag_handler_relationship_counts::options_form()
  3. 7.2 includes/flag_handler_relationships.inc \flag_handler_relationship_counts::options_form()

Provide the label widget that all fields should have.

Overrides views_handler_relationship::options_form

File

includes/views/flag_handler_relationships.inc, line 199
Contains various relationship handlers.

Class

flag_handler_relationship_counts
Views relationship handler associating flag counts and content.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $entity_type = $this->definition['flag type'];
  $form['flag'] = flag_views_flag_config_form('radios', $entity_type, $this->options['flag']);
  $form['required']['#title'] = t('Include only flagged content');
  $form['required']['#description'] = t('If checked, only content that is flagged will be included.');
}