function DtcgInterface::toDtcg

Exports to the DTCG representation.

Return value

array 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\DesignToken

Code

public function toDtcg() : array;

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