function FontWeight::toDtcg
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Theme/Plugin/DesignTokenValue/FontWeight.php \Drupal\Core\Theme\Plugin\DesignTokenValue\FontWeight::toDtcg()
Exports as DTCG.
Return value
mixed DTCG data of the value key.
Overrides DesignTokenValueInterface::toDtcg
File
-
core/
lib/ Drupal/ Core/ Theme/ Plugin/ DesignTokenValue/ FontWeight.php, line 57
Class
- FontWeight
- Font weight design token value.
Namespace
Drupal\Core\Theme\Plugin\DesignTokenValueCode
public function toDtcg() : mixed {
return $this->value;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.