You are here

function flag_admin_page in Flag 6.2

Same name and namespace in other branches
  1. 5 includes/flag.admin.inc \flag_admin_page()
  2. 6 includes/flag.admin.inc \flag_admin_page()
  3. 7.3 includes/flag.admin.inc \flag_admin_page()
  4. 7.2 includes/flag.admin.inc \flag_admin_page()

Flag administration page. Display a list of existing flags.

1 string reference to 'flag_admin_page'
flag_menu in ./flag.module
Implementation of hook_menu().

File

includes/flag.admin.inc, line 11
Contains administrative pages for creating, editing, and deleting flags.

Code

function flag_admin_page() {
  $flags = flag_get_flags();
  $default_flags = flag_get_default_flags(TRUE);
  $flag_admin_listing = drupal_get_form('flag_admin_listing', $flags);
  return theme('flag_admin_page', $flags, $default_flags, $flag_admin_listing);
}