usesRowClass example


    // Otherwise, check the definition or the option.     return $row_uses_fields || $this->usesFields || !empty($this->options['uses_fields']);
  }

  /** * Return TRUE if this style uses tokens. * * Used to ensure we don't fetch tokens when not needed for performance. */
  public function usesTokens() {
    if ($this->usesRowClass()) {
      $class = $this->options['row_class'];
      if (str_contains($class, '{{')) {
        return TRUE;
      }
    }
  }

  /** * Return TRUE if this style enables field labels by default. * * @return bool */
Home | Imprint | This part of the site doesn't use cookies.