Check whether current user has access to this handler.
Return value
boolean
Overrides HandlerBase::access
File
- drupal/core/modules/node/lib/Drupal/node/Plugin/views/field/RevisionLink.php, line 35
- Definition of Drupal\node\Plugin\views\field\RevisionLink.
Class
- RevisionLink
- Field handler to present a link to a node revision.
Namespace
Drupal\node\Plugin\views\field
Code
public function access() {
return user_access('view revisions') || user_access('administer nodes');
}