@@ 88-90 (lines=3) @@ | ||
85 | /* |
|
86 | * If the value is a view path then return a view. |
|
87 | */ |
|
88 | if ($view = array_get($parameters, 'view')) { |
|
89 | return view($view, ['value' => $value, $term => $entry]); |
|
90 | } |
|
91 | ||
92 | /* |
|
93 | * If the value uses a template then parse it. |
|
@@ 95-97 (lines=3) @@ | ||
92 | /* |
|
93 | * If the value uses a template then parse it. |
|
94 | */ |
|
95 | if ($template = array_get($parameters, 'template')) { |
|
96 | return $this->template->render($template, ['value' => $value, $term => $entry]); |
|
97 | } |
|
98 | ||
99 | /* |
|
100 | * If the entry is an instance of EntryInterface |