Check whether current user has access to this handler.
Return value
boolean
Overrides HandlerBase::access
File
- drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkReply.php, line 21
- Definition of Drupal\comment\Plugin\views\field\LinkReply.
Class
- LinkReply
- Field handler to present a link to delete a node.
Namespace
Drupal\comment\Plugin\views\field
Code
public function access() {
return user_access('post comments');
}