Commit 4ec4bf57 authored by webchick's avatar webchick

Issue #2072607 by legolasbo: Remove Unused local variable () from...

Issue #2072607 by legolasbo: Remove Unused local variable () from /core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php.
parent 7cd1ddac
...@@ -202,11 +202,6 @@ public function getRowClass($row_index) { ...@@ -202,11 +202,6 @@ public function getRowClass($row_index) {
*/ */
public function tokenizeValue($value, $row_index) { public function tokenizeValue($value, $row_index) {
if (strpos($value, '[') !== FALSE || strpos($value, '!') !== FALSE || strpos($value, '%') !== FALSE) { if (strpos($value, '[') !== FALSE || strpos($value, '!') !== FALSE || strpos($value, '%') !== FALSE) {
$fake_item = array(
'alter_text' => TRUE,
'text' => $value,
);
// Row tokens might be empty, for example for node row style. // 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->row_tokens[$row_index]) ? $this->row_tokens[$row_index] : array();
if (!empty($this->view->build_info['substitutions'])) { if (!empty($this->view->build_info['substitutions'])) {
......
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