W3cubDocs

/Drupal 8

function views_ui_contextual_links_suppress

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()

File

core/modules/views_ui/views_ui.module, line 252
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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!views_ui!views_ui.module/function/views_ui_contextual_links_suppress/8.1.x