Commit 365637ac authored by alexpott's avatar alexpott

Issue #2003324 by jeroen12345, toddtomlinson: Rename Views method...

Issue #2003324 by jeroen12345, toddtomlinson: Rename Views method render_textarea() to renderTextarea().
parent 7ff44499
...@@ -54,7 +54,7 @@ function render($empty = FALSE) { ...@@ -54,7 +54,7 @@ function render($empty = FALSE) {
$format = isset($this->options['format']) ? $this->options['format'] : filter_default_format(); $format = isset($this->options['format']) ? $this->options['format'] : filter_default_format();
if (!$empty || !empty($this->options['empty'])) { if (!$empty || !empty($this->options['empty'])) {
return array( return array(
'#markup' => $this->render_textarea($this->options['content'], $format), '#markup' => $this->renderTextarea($this->options['content'], $format),
); );
} }
...@@ -64,7 +64,7 @@ function render($empty = FALSE) { ...@@ -64,7 +64,7 @@ function render($empty = FALSE) {
/** /**
* Render a text area, using the proper format. * Render a text area, using the proper format.
*/ */
function render_textarea($value, $format) { public function renderTextarea($value, $format) {
if ($value) { if ($value) {
if ($this->options['tokenize']) { if ($this->options['tokenize']) {
$value = $this->view->style_plugin->tokenize_value($value, 0); $value = $this->view->style_plugin->tokenize_value($value, 0);
......
...@@ -48,7 +48,7 @@ public function submitOptionsForm(&$form, &$form_state) { ...@@ -48,7 +48,7 @@ public function submitOptionsForm(&$form, &$form_state) {
function render($empty = FALSE) { function render($empty = FALSE) {
if (!$empty || !empty($this->options['empty'])) { if (!$empty || !empty($this->options['empty'])) {
return array( return array(
'#markup' => $this->render_textarea($this->options['content']), '#markup' => $this->renderTextarea($this->options['content']),
); );
} }
...@@ -58,7 +58,7 @@ function render($empty = FALSE) { ...@@ -58,7 +58,7 @@ function render($empty = FALSE) {
/** /**
* Render a text area with filter_xss_admin. * Render a text area with filter_xss_admin.
*/ */
function render_textarea($value) { public function renderTextarea($value) {
if ($value) { if ($value) {
if ($this->options['tokenize']) { if ($this->options['tokenize']) {
$value = $this->view->style_plugin->tokenize_value($value, 0); $value = $this->view->style_plugin->tokenize_value($value, 0);
......
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