diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php index c3e1be85657d6d526863c7094f917dbcc2990a5d..0426e6863c678c0748c786744dce3d35c2fd0d08 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php @@ -37,7 +37,7 @@ abstract class StylePluginBase extends PluginBase { /** * Store all available tokens row rows. */ - var $row_tokens = array(); + protected $rowTokens = array(); /** * Does the style plugin allows to use style plugins. @@ -201,7 +201,7 @@ public function getRowClass($row_index) { public function tokenizeValue($value, $row_index) { if (strpos($value, '[') !== FALSE || strpos($value, '!') !== FALSE || strpos($value, '%') !== FALSE) { // Row tokens might be empty, for example for node row style. - $tokens = isset($this->row_tokens[$row_index]) ? $this->row_tokens[$row_index] : array(); + $tokens = isset($this->rowTokens[$row_index]) ? $this->rowTokens[$row_index] : array(); if (!empty($this->view->build_info['substitutions'])) { $tokens += $this->view->build_info['substitutions']; } @@ -632,7 +632,7 @@ protected function renderFields(array $result) { $this->rendered_fields[$count][$id] = $this->view->field[$id]->theme($row); } - $this->row_tokens[$count] = $this->view->field[$id]->getRenderTokens(array()); + $this->rowTokens[$count] = $this->view->field[$id]->getRenderTokens(array()); } } unset($this->view->row_index);