function link_theme

Same name in other branches
  1. 9 core/modules/link/link.module \link_theme()
  2. 8.9.x core/modules/link/link.module \link_theme()
  3. 10 core/modules/link/link.module \link_theme()

Implements hook_theme().

File

core/modules/link/link.module, line 44

Code

function link_theme() {
    return [
        'link_formatter_link_separate' => [
            'variables' => [
                'title' => NULL,
                'url_title' => NULL,
                'url' => NULL,
            ],
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.