Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Link.php

function Link::getInfo

Overrides ElementInterface::getInfo

2 calls to Link::getInfo()
MoreLink::getInfo in core/lib/Drupal/Core/Render/Element/MoreLink.php
Returns the element properties for this element.
MoreLink::getInfo in core/lib/Drupal/Core/Render/Element/MoreLink.php
Returns the element properties for this element.
2 methods override Link::getInfo()
MoreLink::getInfo in core/lib/Drupal/Core/Render/Element/MoreLink.php
Returns the element properties for this element.
SystemCompactLink::getInfo in core/lib/Drupal/Core/Render/Element/SystemCompactLink.php
Returns the element properties for this element.

File

core/lib/Drupal/Core/Render/Element/Link.php, line 36

Class

Link
Provides a link render element.

Namespace

Drupal\Core\Render\Element

Code

public function getInfo() {
    $class = static::class;
    return [
        '#pre_render' => [
            [
                $class,
                'preRenderLink',
            ],
        ],
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal