function DesignTokenValueInterface::toCss

Exports as CSS value.

Return value

string The CSS variable.

File

core/lib/Drupal/Core/Theme/DesignToken/DesignTokenValueInterface.php, line 26

Class

DesignTokenValueInterface
Interface for design tokens value plugins.

Namespace

Drupal\Core\Theme\DesignToken

Code

public function toCss() : string;

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