function DesignTokenValuePluginBaseTest::testPrepareConfiguration
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Theme/DesignToken/DesignTokenValuePluginBaseTest.php \Drupal\Tests\Core\Theme\DesignToken\DesignTokenValuePluginBaseTest::testPrepareConfiguration()
Tests prepareConfiguration.
Attributes
#[DataProvider('providerPrepareConfiguration')]
File
-
core/
tests/ Drupal/ Tests/ Core/ Theme/ DesignToken/ DesignTokenValuePluginBaseTest.php, line 23
Class
- DesignTokenValuePluginBaseTest
- Tests design token value base methods.
Namespace
Drupal\Tests\Core\Theme\DesignTokenCode
public function testPrepareConfiguration(mixed $configuration, array $expected) : void {
$this->assertEquals($expected, DesignTokenValuePluginBase::prepareConfiguration($configuration));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.