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

merge-requests/7240/head
Alex Pott 2024-03-29 10:08:11 +00:00
parent 17d96f2df5
commit 61018bfeba
No known key found for this signature in database
GPG Key ID: BDA67E7EE836E5CE
2 changed files with 6 additions and 2 deletions

View File

@ -161,7 +161,9 @@ class CommentLazyBuilders implements TrustedCallbackInterface {
* The entity to which the comment is attached. * The entity to which the comment is attached.
* *
* @return array * @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) { protected function buildLinks(CommentInterface $entity, EntityInterface $commented_entity) {
$links = []; $links = [];

View File

@ -119,7 +119,9 @@ class NodeViewBuilder extends EntityViewBuilder implements TrustedCallbackInterf
* A view mode identifier. * A view mode identifier.
* *
* @return array * @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) { protected static function buildLinks(NodeInterface $entity, $view_mode) {
$links = []; $links = [];