function link_theme

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

Implements hook_theme().

File

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

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.