Commit 027f5624 authored by John Fiala's avatar John Fiala
Browse files

Issue #1928116 by jcfiala: Added field variable to variables for link...

Issue #1928116 by jcfiala: Added field variable to variables for link formatter functions in hook_theme.
parent a4d29d7c
......@@ -654,31 +654,31 @@ function _link_parse_str($query) {
function link_theme() {
return array(
'link_formatter_link_default' => array(
'variables' => array('element' => NULL),
'variables' => array('element' => NULL, 'field' => NULL),
),
'link_formatter_link_plain' => array(
'variables' => array('element' => NULL),
'variables' => array('element' => NULL, 'field' => NULL),
),
'link_formatter_link_absolute' => array(
'variables' => array('element' => NULL),
'variables' => array('element' => NULL, 'field' => NULL),
),
'link_formatter_link_domain' => array(
'variables' => array('element' => NULL, 'display' => NULL),
'variables' => array('element' => NULL, 'display' => NULL, 'field' => NULL),
),
'link_formatter_link_title_plain' => array(
'variables' => array('element' => NULL),
'variables' => array('element' => NULL, 'field' => NULL),
),
'link_formatter_link_url' => array(
'variables' => array('element' => NULL),
'variables' => array('element' => NULL, 'field' => NULL),
),
'link_formatter_link_short' => array(
'variables' => array('element' => NULL),
'variables' => array('element' => NULL, 'field' => NULL),
),
'link_formatter_link_label' => array(
'variables' => array('element' => NULL, 'field' => NULL),
),
'link_formatter_link_separate' => array(
'variables' => array('element' => NULL),
'variables' => array('element' => NULL, 'field' => NULL),
),
'link_field' => array(
'render element' => 'element',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment