public function LinkReply::access in Views (for Drupal 7) 8.3
Check whether current user has access to this handler.
Return value
boolean
Overrides HandlerBase::access
File
- lib/
Views/ comment/ Plugin/ views/ field/ LinkReply.php, line 24 - Definition of Views\comment\Plugin\views\field\LinkReply.
Class
- LinkReply
- Field handler to present a link to delete a node.
Namespace
Views\comment\Plugin\views\fieldCode
public function access() {
//check for permission to reply to comments
return user_access('post comments');
}