CommentLazyBuilders::access

protected CommentLazyBuilders::access(EntityInterface $entity)

Wraps content_translation_translate_access.

File

core/modules/comment/src/CommentLazyBuilders.php, line 223

Class

CommentLazyBuilders
Defines a service for comment #lazy_builder callbacks.

Namespace

Drupal\comment

Code

protected function access(EntityInterface $entity) {
  return content_translation_translate_access($entity);
}
doc_Drupal
2016-10-29 08:50:49
Comments
Leave a Comment

Please login to continue.