You are here

function flag_handler_relationship_user_content::option_definition in Flag 6

File

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

Class

flag_handler_relationship_user_content
Specialized relationship handler associating flags and users.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['flag'] = array(
    'default' => flag_views_flag_default(NULL),
  );
  $options['required'] = array(
    'default' => 1,
  );
  return $options;
}