return $return_as_object ? $result : $result->isAllowed();
}
if ($operation === 'view') {
- // Only users with either post comments or access comments permisison can
+ // Only users with "post comments" or "access comments" permission can
// view the field value. The formatter,
// Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter,
// takes care of showing the thread and form based on individual