9 calls to CommentAccessTrait::accessAdministerComment() in Comment Permissions 8
- CommentDefaultFormatter::viewElements in src/
Plugin/ Field/ FieldFormatter/ CommentDefaultFormatter.php - Builds a renderable array for a field value.
- CommentFieldItemList::access in src/
CommentFieldItemList.php - Checks data value access.
- CommentForm::actions in src/
CommentForm.php - Returns an array of supported actions for the current entity form.
- CommentForm::buildEntity in src/
CommentForm.php - Builds an updated entity object based upon the submitted form values.
- CommentForm::form in src/
CommentForm.php - Gets the actual form array to be built.
- CommentForm::save in src/
CommentForm.php - Form submission handler for the 'save' action.
- CommentSelection::userHasAdminPerm in src/
Plugin/ EntityReferenceSelection/ CommentSelection.php - Determine if current use has admin role for at least one comment type.
- CommentTypeAccessControlHandler::checkAccess in src/
CommentTypeAccessControlHandler.php - Performs access checks.
- CommentTypeAccessControlHandler::checkFieldAccess in src/
CommentTypeAccessControlHandler.php - Default field access as determined by this access control handler.