function views_ui_contextual_links_suppress
Same name in other branches
- 9 core/modules/views_ui/views_ui.module \views_ui_contextual_links_suppress()
- 8.9.x core/modules/views_ui/views_ui.module \views_ui_contextual_links_suppress()
- 10 core/modules/views_ui/views_ui.module \views_ui_contextual_links_suppress()
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 core/
modules/ views_ui/ views_ui.module - Decrements the views_ui_contextual_links_suppress() static variable.
- views_ui_contextual_links_suppress_push in core/
modules/ views_ui/ views_ui.module - Increments the views_ui_contextual_links_suppress() static variable.
- views_ui_contextual_links_view_alter in core/
modules/ views_ui/ views_ui.module - Implements hook_contextual_links_view_alter().
File
-
core/
modules/ views_ui/ views_ui.module, line 278
Code
function views_ui_contextual_links_suppress($set = NULL) {
$suppress =& drupal_static(__FUNCTION__);
if (isset($set)) {
$suppress = $set;
}
return $suppress;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.