function FontFamily::toCss

File

core/lib/Drupal/Core/Theme/Plugin/DesignTokenValue/FontFamily.php, line 61

Class

FontFamily
Font family design token value.

Namespace

Drupal\Core\Theme\Plugin\DesignTokenValue

Code

public function toCss() : string {
  return implode(', ', array_map(Html::escape(...), $this->value));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.