You are here

function _flag_link_type_descriptions in Flag 7.3

Same name and namespace in other branches
  1. 6.2 flag.module \_flag_link_type_descriptions()
  2. 7.2 flag.module \_flag_link_type_descriptions()

Return an array of flag link type descriptions.

1 call to _flag_link_type_descriptions()
flag_form in includes/flag.admin.inc
Add/Edit flag page.

File

./flag.module, line 1692
The Flag module.

Code

function _flag_link_type_descriptions() {
  $options = array();
  $types = flag_get_link_types();
  foreach ($types as $type_name => $type) {
    $options[$type_name] = $type['description'];
  }
  return $options;
}