function ViewExecutable::getShowAdminLinks
Same name in other branches
- 8.9.x core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::getShowAdminLinks()
- 10 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::getShowAdminLinks()
- 11.x core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::getShowAdminLinks()
Returns whether admin links should be rendered on the view.
Return value
bool TRUE if admin links should be rendered, else FALSE.
File
-
core/
modules/ views/ src/ ViewExecutable.php, line 2399
Class
- ViewExecutable
- Represents a view as a whole.
Namespace
Drupal\viewsCode
public function getShowAdminLinks() {
if (!isset($this->showAdminLinks)) {
return $this->getDisplay()
->getOption('show_admin_links');
}
return $this->showAdminLinks;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.