function DtcgInterface::toDtcg
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Theme/DesignToken/DtcgInterface.php \Drupal\Core\Theme\DesignToken\DtcgInterface::toDtcg()
Exports to the DTCG representation.
Return value
array The DTCG representation.
2 methods override DtcgInterface::toDtcg()
- DesignToken::toDtcg in core/
lib/ Drupal/ Core/ Theme/ DesignToken/ DesignToken.php - Exports to the DTCG representation.
- Group::toDtcg in core/
lib/ Drupal/ Core/ Theme/ DesignToken/ Group.php - Exports to the DTCG representation.
File
-
core/
lib/ Drupal/ Core/ Theme/ DesignToken/ DtcgInterface.php, line 38
Class
- DtcgInterface
- Interface for DTCG tokens and groups.
Namespace
Drupal\Core\Theme\DesignTokenCode
public function toDtcg() : array;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.