function DesignTokenValuePluginTestBase::testToCss
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Theme/DesignToken/DesignTokenValuePluginTestBase.php \Drupal\Tests\Core\Theme\DesignToken\DesignTokenValuePluginTestBase::testToCss()
Tests toCss.
5 methods override DesignTokenValuePluginTestBase::testToCss()
- DimensionTest::testToCss in core/
tests/ Drupal/ Tests/ Core/ Theme/ DesignToken/ Plugin/ DimensionTest.php - #[DataProvider('providerToCss')]
- FontFamilyTest::testToCss in core/
tests/ Drupal/ Tests/ Core/ Theme/ DesignToken/ Plugin/ FontFamilyTest.php - #[DataProvider('providerToCss')]
- FontWeightTest::testToCss in core/
tests/ Drupal/ Tests/ Core/ Theme/ DesignToken/ Plugin/ FontWeightTest.php - #[DataProvider('providerToCss')]
- NumberTest::testToCss in core/
tests/ Drupal/ Tests/ Core/ Theme/ DesignToken/ Plugin/ NumberTest.php - #[DataProvider('providerToCss')]
- TypographyTest::testToCss in core/
tests/ Drupal/ Tests/ Core/ Theme/ DesignToken/ Plugin/ TypographyTest.php - #[DataProvider('providerToCss')]
File
-
core/
tests/ Drupal/ Tests/ Core/ Theme/ DesignToken/ DesignTokenValuePluginTestBase.php, line 27
Class
- DesignTokenValuePluginTestBase
- Base class for testing design token value plugins.
Namespace
Drupal\Tests\Core\Theme\DesignTokenCode
abstract public function testToCss(mixed $value, string $expected) : void;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.