You are here

function flag_handler_relationship_content::option_definition in Flag 7.2

Same name and namespace in other branches
  1. 6.2 includes/flag_handler_relationships.inc \flag_handler_relationship_content::option_definition()
  2. 6 includes/flag_handler_relationships.inc \flag_handler_relationship_content::option_definition()
  3. 7.3 includes/views/flag_handler_relationships.inc \flag_handler_relationship_content::option_definition()

Every relationship has a 'flag' option.

Overrides flag_handler_relationship::option_definition

File

includes/flag_handler_relationships.inc, line 86
Contains various relationship handlers.

Class

flag_handler_relationship_content
Specialized relationship handler associating flags and content.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['user_scope'] = array(
    'default' => 'current',
  );
  return $options;
}