You are here

function flag_user::options in Flag 7.3

Same name and namespace in other branches
  1. 6.2 flag.inc \flag_user::options()
  2. 7.2 flag.inc \flag_user::options()

Adds additional options that are common for all entity types.

Overrides flag_entity::options

File

includes/flag/flag_user.inc, line 12
Contains the flag_user class.

Class

flag_user
Implements a user flag.

Code

function options() {
  $options = parent::options();
  $options += array(
    'show_on_profile' => TRUE,
    'access_uid' => '',
  );
  return $options;
}