function DesignTokenValueInterface::prepareConfiguration
Same name and namespace in other branches
- main core/lib/Drupal/Core/Theme/DesignToken/DesignTokenValueInterface.php \Drupal\Core\Theme\DesignToken\DesignTokenValueInterface::prepareConfiguration()
Prepares configuration for plugin creation.
Ensures that the configuration is an associative array.
Parameters
mixed $configuration: The configuration to prepare.
Return value
array The prepared configuration.
1 method overrides DesignTokenValueInterface::prepareConfiguration()
- DesignTokenValuePluginBase::prepareConfiguration in core/
lib/ Drupal/ Core/ Theme/ DesignToken/ DesignTokenValuePluginBase.php - Prepares configuration for plugin creation.
File
-
core/
lib/ Drupal/ Core/ Theme/ DesignToken/ DesignTokenValueInterface.php, line 39
Class
- DesignTokenValueInterface
- Interface for design tokens value plugins.
Namespace
Drupal\Core\Theme\DesignTokenCode
public static function prepareConfiguration(mixed $configuration) : array;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.