Verified Commit faf7f150 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3436070 by markusVJH, joachim: obsolete docs about drupal_pre_render_links()

(cherry picked from commit 61018bfe)
parent f78530b4
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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 = [];
+3 −1
Original line number Diff line number Diff line
@@ -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 = [];