You are here

function template_preprocess_insert_link in Insert 7

Same name and namespace in other branches
  1. 8.2 insert.module \template_preprocess_insert_link()
  2. 8 insert.module \template_preprocess_insert_link()
  3. 6 includes/insert.inc \template_preprocess_insert_link()

Preprocess variables for the insert-link.tpl.php file.

File

includes/insert.inc, line 86
Insert support for generic files.

Code

function template_preprocess_insert_link(&$vars) {
  $vars = _insert_default_vars($vars);
  $vars['name'] = $vars['file']->filename;
}