function flag_entity::shows_in_entity_links in Flag 7.3
Determine whether the flag should show a flag link in entity links.
Overrides flag_flag::shows_in_entity_links
File
- includes/
flag/ flag_entity.inc, line 207 - Contains the flag_entity class.
Class
- flag_entity
- Base entity flag handler.
Code
function shows_in_entity_links($view_mode) {
// Check for settings for the given view mode.
if (isset($this->show_in_links[$view_mode])) {
return (bool) $this->show_in_links[$view_mode];
}
return FALSE;
}