ViewExecutable::setShowAdminLinks

public ViewExecutable::setShowAdminLinks($show_admin_links)

Enables admin links on the rendered view.

Parameters

bool $show_admin_links: TRUE if the admin links should be shown.

File

core/modules/views/src/ViewExecutable.php, line 2371

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

1
2
3
public function setShowAdminLinks($show_admin_links) {
  $this->showAdminLinks = (bool) $show_admin_links;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.