Defines a service for comment #lazy_builder callbacks.
Hierarchy
- class \Drupal\comment\CommentLazyBuilders
File
- core/modules/comment/src/CommentLazyBuilders.php, line 17
Namespace
Drupal\comment
Members
| Name | Modifiers | Type | Description |
|---|---|---|---|
| CommentLazyBuilders::$commentManager | protected | property | Comment manager service. |
| CommentLazyBuilders::$currentUser | protected | property | Current logged in user. |
| CommentLazyBuilders::$entityFormBuilder | protected | property | The entity form builder service. |
| CommentLazyBuilders::$entityManager | protected | property | The entity manager service. |
| CommentLazyBuilders::$moduleHandler | protected | property | The module handler service. |
| CommentLazyBuilders::$renderer | protected | property | The renderer service. |
| CommentLazyBuilders::access | protected | function | Wraps content_translation_translate_access. |
| CommentLazyBuilders::buildLinks | protected | function | Build the default links (reply, edit, delete …) for a comment. |
| CommentLazyBuilders::renderForm | public | function | #lazy_builder callback; builds the comment form. |
| CommentLazyBuilders::renderLinks | public | function | #lazy_builder callback; builds a comment's links. |
| CommentLazyBuilders::__construct | public | function | Constructs a new CommentLazyBuilders object. |
Please login to continue.