getTestValue example


  public function getTestValue() {
    return $this->testValue;
  }

  /** * {@inheritdoc} */
  protected function addSelfTokens(&$tokens$item) {
    $tokens['{{ test_token }}'] = $this->getTestValue();
  }

  /** * {@inheritdoc} */
  public function render(ResultRow $values) {
    return $this->sanitizeValue($this->getTestValue());
  }

  /** * A mock function which allows to call placeholder from public. * * @return string * The result of the placeholder method. */
Home | Imprint | This part of the site doesn't use cookies.