function flag_lists_flag_default_flags in Flag Lists 7.3
Same name and namespace in other branches
- 6 flag_lists.module \flag_lists_flag_default_flags()
- 7 flag_lists.module \flag_lists_flag_default_flags()
1 call to flag_lists_flag_default_flags()
- flag_lists_create_template_form_submit in ./
flag_lists.admin.inc - New template submit.
File
- ./
flag_lists.module, line 1296 - The Flag Lists module.
Code
function flag_lists_flag_default_flags() {
$flags = array();
// Exported flag: "Flag lists template".
$flags['fl_template'] = array(
'entity_type' => 'node',
'title' => 'Flag lists template',
'global' => 0,
'types' => array(),
'flag_short' => 'Add to your [flag_lists:title] [flag_lists:term]',
'flag_long' => 'Add this post to your [flag_lists:title] [flag_lists:term]',
'flag_message' => 'This post has been added to your [flag_lists:title] [flag_lists:term]',
'unflag_short' => 'Remove this from your [flag_lists:title] [flag_lists:term]',
'unflag_long' => 'Remove this post from your [flag_lists:title] [flag_lists:term]',
'unflag_message' => 'This post has been removed from your [flag_lists:title] [flag_lists:term]',
'unflag_denied_text' => '',
'link_type' => 'toggle',
'weight' => 0,
'api_version' => 3,
'module' => 'flag_lists',
'show_on_page' => 0,
'show_on_teaser' => 0,
'show_on_form' => 0,
'status' => FALSE,
'import_roles' => array(
'flag' => array(),
'unflag' => array(),
),
);
return $flags;
}