You are here

function ds_extras_flags_add_flag_link in Display Suite 7.2

Output flag.

1 string reference to 'ds_extras_flags_add_flag_link'
ds_extras_ds_fields_info in modules/ds_extras/ds_extras.ds_fields_info.inc
Implements hook_ds_fields_info().

File

modules/ds_extras/ds_extras.module, line 583
Display Suite extras main functions.

Code

function ds_extras_flags_add_flag_link($field) {
  return flag_create_link($field['properties']['flag'], $field['entity']->nid);
}