function flag_handler_relationship::option_definition in Flag 7.3
Same name and namespace in other branches
- 6.2 includes/flag_handler_relationships.inc \flag_handler_relationship::option_definition()
- 7.2 includes/flag_handler_relationships.inc \flag_handler_relationship::option_definition()
Every relationship has a 'flag' option.
Overrides views_handler_relationship::option_definition
1 call to flag_handler_relationship::option_definition()
- flag_handler_relationship_content::option_definition in includes/
views/ flag_handler_relationships.inc - Every relationship has a 'flag' option.
1 method overrides flag_handler_relationship::option_definition()
- flag_handler_relationship_content::option_definition in includes/
views/ flag_handler_relationships.inc - Every relationship has a 'flag' option.
File
- includes/
views/ flag_handler_relationships.inc, line 18 - Contains various relationship handlers.
Class
- flag_handler_relationship
- Base class for all our relationship classes.
Code
function option_definition() {
$options = parent::option_definition();
$options['flag'] = array(
'default' => NULL,
);
$options['required'] = array(
'default' => 1,
);
return $options;
}