You are here

function file_link_theme in File Link 8

Same name and namespace in other branches
  1. 2.0.x file_link.module \file_link_theme()

Implements hook_theme().

File

./file_link.module, line 30
Contains file_link.module.

Code

function file_link_theme() {
  return [
    'file_link_formatter' => [
      'variables' => [
        'link' => NULL,
        'size' => NULL,
        'format' => NULL,
      ],
    ],
    'file_link_formatter_link_separate' => [
      'variables' => [
        'title' => NULL,
        'url_title' => NULL,
        'url' => NULL,
        'size' => NULL,
        'format' => NULL,
      ],
    ],
  ];
}