Issue #2003324 by jeroen12345, toddtomlinson: Rename Views method render_textarea() to renderTextarea().

8.0.x
Alex Pott 2013-05-29 13:59:25 +01:00
parent 7ff44499f4
commit 365637ac48
2 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,7 @@ class Text extends AreaPluginBase {
$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 @@ class Text extends AreaPluginBase {
/**
* 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);

View File

@ -48,7 +48,7 @@ class TextCustom extends AreaPluginBase {
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 @@ class TextCustom extends AreaPluginBase {
/**
* 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);