function views_ui_contextual_links_suppress
3.x views_ui.module | views_ui_contextual_links_suppress($set = NULL) |
Sets a static variable for controlling whether contextual links are rendered.
See also
views_ui_contextual_links_view_alter()
3 calls to views_ui_contextual_links_suppress()
- views_ui_contextual_links_suppress_pop in ./
views_ui.module - Decrements the views_ui_contextual_links_suppress() static variable.
- views_ui_contextual_links_suppress_push in ./
views_ui.module - Increments the views_ui_contextual_links_suppress() static variable.
- views_ui_contextual_links_view_alter in ./
views_ui.module - Implements hook_contextual_links_view_alter().
File
- ./
views_ui.module, line 692 - Provide structure for the administrative interface to Views.
Code
function views_ui_contextual_links_suppress($set = NULL) {
$suppress = &drupal_static(__FUNCTION__);
if (isset($set)) {
$suppress = $set;
}
return $suppress;
}