CommentLazyBuilders::buildLinks

protected CommentLazyBuilders::buildLinks(CommentInterface $entity, EntityInterface $commented_entity) Build the default links (reply, edit, delete …) for a comment. Parameters \Drupal\comment\CommentInterface $entity: The comment object. \Drupal\Core\Entity\EntityInterface $commented_entity: The entity to which the comment is attached. Return value array An array that can be processed by drupal_pre_render_links(). File core/modules/comment/src/CommentLazyBuilders.php, line 164 Class Comm

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); }

CommentLazyBuilders::$renderer

The renderer service. Type: \Drupal\Core\Render\RendererInterface File core/modules/comment/src/CommentLazyBuilders.php, line 59 Class CommentLazyBuilders Defines a service for comment #lazy_builder callbacks. Namespace Drupal\comment Code protected $renderer;

CommentLazyBuilders::$moduleHandler

The module handler service. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/comment/src/CommentLazyBuilders.php, line 52 Class CommentLazyBuilders Defines a service for comment #lazy_builder callbacks. Namespace Drupal\comment Code protected $moduleHandler;

CommentLazyBuilders::$entityManager

The entity manager service. Type: \Drupal\Core\Entity\EntityManagerInterface File core/modules/comment/src/CommentLazyBuilders.php, line 24 Class CommentLazyBuilders Defines a service for comment #lazy_builder callbacks. Namespace Drupal\comment Code protected $entityManager;

CommentLazyBuilders::$entityFormBuilder

The entity form builder service. Type: \Drupal\Core\Entity\EntityFormBuilderInterface File core/modules/comment/src/CommentLazyBuilders.php, line 31 Class CommentLazyBuilders Defines a service for comment #lazy_builder callbacks. Namespace Drupal\comment Code protected $entityFormBuilder;

CommentLazyBuilders::$currentUser

Current logged in user. Type: \Drupal\Core\Session\AccountInterface File core/modules/comment/src/CommentLazyBuilders.php, line 45 Class CommentLazyBuilders Defines a service for comment #lazy_builder callbacks. Namespace Drupal\comment Code protected $currentUser;

CommentLazyBuilders::$commentManager

Comment manager service. Type: \Drupal\comment\CommentManagerInterface File core/modules/comment/src/CommentLazyBuilders.php, line 38 Class CommentLazyBuilders Defines a service for comment #lazy_builder callbacks. Namespace Drupal\comment Code protected $commentManager;

CommentLazyBuilders

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 ent

CommentInterface::setThread

public CommentInterface::setThread($thread) Sets the alphadecimal representation of the comment's place in a thread. Parameters string $thread: The alphadecimal representation of the comment's place in a thread. Return value $this The class instance that this method is called on. File core/modules/comment/src/CommentInterface.php, line 238 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function setThread($thread);