diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/area/Text.php b/core/modules/views/lib/Drupal/views/Plugin/views/area/Text.php index 4c926ad..cd45efe 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/area/Text.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/area/Text.php @@ -54,7 +54,7 @@ function render($empty = FALSE) { $format = isset($this->options['format']) ? $this->options['format'] : filter_default_format(); if (!$empty || !empty($this->options['empty'])) { 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) { /** * Render a text area, using the proper format. */ - function render_textarea($value, $format) { + public function renderTextarea($value, $format) { if ($value) { if ($this->options['tokenize']) { $value = $this->view->style_plugin->tokenize_value($value, 0); diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/area/TextCustom.php b/core/modules/views/lib/Drupal/views/Plugin/views/area/TextCustom.php index 002537a..55c547b 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/area/TextCustom.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/area/TextCustom.php @@ -48,7 +48,7 @@ public function submitOptionsForm(&$form, &$form_state) { function render($empty = FALSE) { if (!$empty || !empty($this->options['empty'])) { return array( - '#markup' => $this->render_textarea($this->options['content']), + '#markup' => $this->renderTextarea($this->options['content']), ); } @@ -58,7 +58,7 @@ function render($empty = FALSE) { /** * Render a text area with filter_xss_admin. */ - function render_textarea($value) { + public function renderTextarea($value) { if ($value) { if ($this->options['tokenize']) { $value = $this->view->style_plugin->tokenize_value($value, 0);