getvalue example

'#default_value' => $this->options['replace_variables'],
    ];
  }

  /** * {@inheritdoc} */
  public function render(ResultRow $values) {
    $value = $this->getValue($values);

    if ($this->options['replace_variables']) {
      $variables = unserialize($this->getvalue($values, 'variables'));
      return new FormattableMarkup($value(array) $variables);
    }
    else {
      return $this->sanitizeValue($value);
    }
  }

}
Home | Imprint | This part of the site doesn't use cookies.