Commit 631d0da1 authored by alexpott's avatar alexpott

Issue #2003348 by jeroen12345, phenaproxima, Dan Reinders: Rename Views method...

Issue #2003348 by jeroen12345, phenaproxima, Dan Reinders: Rename Views method render_as_link() to renderAsLink().
parent cb1e2dfb
......@@ -1152,7 +1152,7 @@ public function advancedRender($values) {
if (is_array($value)) {
$value = drupal_render($value);
}
// This happens here so that render_as_link can get the unaltered value of
// This happens here so that renderAsLink can get the unaltered value of
// this field as a token rather than the altered value.
$this->last_render = $value;
}
......@@ -1270,7 +1270,7 @@ public function renderText($alter) {
if (!isset($tokens)) {
$tokens = $this->getRenderTokens($alter);
}
$value = $this->render_as_link($alter, $value, $tokens);
$value = $this->renderAsLink($alter, $value, $tokens);
}
return $value . $suffix;
......@@ -1303,7 +1303,7 @@ public function renderTrimText($alter, $value) {
* Render this field as a link, with the info from a fieldset set by
* the user.
*/
function render_as_link($alter, $text, $tokens) {
protected function renderAsLink($alter, $text, $tokens) {
$value = '';
if (!empty($alter['prefix'])) {
......
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