Loading core/modules/comment/src/CommentLazyBuilders.php +3 −1 Original line number Diff line number Diff line Loading @@ -161,7 +161,9 @@ public function renderLinks($comment_entity_id, $view_mode, $langcode, $is_in_pr * The entity to which the comment is attached. * * @return array * An array that can be processed by drupal_pre_render_links(). * An array that can be processed by Link::preRenderLinks(). * * @see \Drupal\Core\Render\Element\Link::preRenderLinks() */ protected function buildLinks(CommentInterface $entity, EntityInterface $commented_entity) { $links = []; Loading core/modules/node/src/NodeViewBuilder.php +3 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,9 @@ public static function renderLinks($node_entity_id, $view_mode, $langcode, $is_i * A view mode identifier. * * @return array * An array that can be processed by drupal_pre_render_links(). * An array that can be processed by Link::preRenderLinks(). * * @see \Drupal\Core\Render\Element\Link::preRenderLinks() */ protected static function buildLinks(NodeInterface $entity, $view_mode) { $links = []; Loading Loading
core/modules/comment/src/CommentLazyBuilders.php +3 −1 Original line number Diff line number Diff line Loading @@ -161,7 +161,9 @@ public function renderLinks($comment_entity_id, $view_mode, $langcode, $is_in_pr * The entity to which the comment is attached. * * @return array * An array that can be processed by drupal_pre_render_links(). * An array that can be processed by Link::preRenderLinks(). * * @see \Drupal\Core\Render\Element\Link::preRenderLinks() */ protected function buildLinks(CommentInterface $entity, EntityInterface $commented_entity) { $links = []; Loading
core/modules/node/src/NodeViewBuilder.php +3 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,9 @@ public static function renderLinks($node_entity_id, $view_mode, $langcode, $is_i * A view mode identifier. * * @return array * An array that can be processed by drupal_pre_render_links(). * An array that can be processed by Link::preRenderLinks(). * * @see \Drupal\Core\Render\Element\Link::preRenderLinks() */ protected static function buildLinks(NodeInterface $entity, $view_mode) { $links = []; Loading