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

Breadcrumb

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

function LinkHooks::theme

Implements hook_theme().

File

core/modules/link/src/Hook/LinkHooks.php, line 59

Class

LinkHooks
Hook implementations for link.

Namespace

Drupal\link\Hook

Code

public function theme() : array {
    return [
        'link_formatter_link_separate' => [
            'variables' => [
                'title' => NULL,
                'url_title' => NULL,
                'url' => NULL,
            ],
        ],
    ];
}

API Navigation

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