function DesignTokenValueInterface::toDtcg
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Theme/DesignToken/DesignTokenValueInterface.php \Drupal\Core\Theme\DesignToken\DesignTokenValueInterface::toDtcg()
Exports as DTCG.
Return value
mixed DTCG data of the value key.
5 methods override DesignTokenValueInterface::toDtcg()
- Dimension::toDtcg in core/
lib/ Drupal/ Core/ Theme/ Plugin/ DesignTokenValue/ Dimension.php - Exports as DTCG.
- FontFamily::toDtcg in core/
lib/ Drupal/ Core/ Theme/ Plugin/ DesignTokenValue/ FontFamily.php - Exports as DTCG.
- FontWeight::toDtcg in core/
lib/ Drupal/ Core/ Theme/ Plugin/ DesignTokenValue/ FontWeight.php - Exports as DTCG.
- Number::toDtcg in core/
lib/ Drupal/ Core/ Theme/ Plugin/ DesignTokenValue/ Number.php - Exports as DTCG.
- Typography::toDtcg in core/
lib/ Drupal/ Core/ Theme/ Plugin/ DesignTokenValue/ Typography.php - Exports as DTCG.
File
-
core/
lib/ Drupal/ Core/ Theme/ DesignToken/ DesignTokenValueInterface.php, line 18
Class
- DesignTokenValueInterface
- Interface for design tokens value plugins.
Namespace
Drupal\Core\Theme\DesignTokenCode
public function toDtcg() : mixed;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.