Issue #3436070 by markusVJH, joachim: obsolete docs about drupal_pre_render_links()
parent
17d96f2df5
commit
61018bfeba
|
@ -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 = [];
|
||||||
|
|
|
@ -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 = [];
|
||||||
|
|
Loading…
Reference in New Issue