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

1
2
3
protected function access(EntityInterface $entity) {
  return content_translation_translate_access($entity);
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.