ViewExecutable::getShowAdminLinks

public 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 2381

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

public function getShowAdminLinks() {
  if (!isset($this->showAdminLinks)) {
    return $this->getDisplay()->getOption('show_admin_links');
  }
  return $this->showAdminLinks;
}
doc_Drupal
2016-10-29 09:54:22
Comments
Leave a Comment

Please login to continue.