function link_theme in Drupal 9
Same name and namespace in other branches
- 8 core/modules/link/link.module \link_theme()
Implements hook_theme().
File
- core/
modules/ link/ link.module, line 43 - Defines simple link field types.
Code
function link_theme() {
return [
'link_formatter_link_separate' => [
'variables' => [
'title' => NULL,
'url_title' => NULL,
'url' => NULL,
],
],
];
}