function CommentLazyBuilders::access
Same name in other branches
- 8.9.x core/modules/comment/src/CommentLazyBuilders.php \Drupal\comment\CommentLazyBuilders::access()
- 10 core/modules/comment/src/CommentLazyBuilders.php \Drupal\comment\CommentLazyBuilders::access()
- 11.x core/modules/comment/src/CommentLazyBuilders.php \Drupal\comment\CommentLazyBuilders::access()
Wraps content_translation_translate_access.
File
-
core/
modules/ comment/ src/ CommentLazyBuilders.php, line 227
Class
- CommentLazyBuilders
- Defines a service for comment #lazy_builder callbacks.
Namespace
Drupal\commentCode
protected function access(EntityInterface $entity) {
return content_translation_translate_access($entity);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.