function FontWeight::defaultConfiguration
Same name and namespace in other branches
- main core/lib/Drupal/Core/Theme/Plugin/DesignTokenValue/FontWeight.php \Drupal\Core\Theme\Plugin\DesignTokenValue\FontWeight::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array containing the default configuration.
Overrides ConfigurableTrait::defaultConfiguration
File
-
core/
lib/ Drupal/ Core/ Theme/ Plugin/ DesignTokenValue/ FontWeight.php, line 29
Class
- FontWeight
- Font weight design token value.
Namespace
Drupal\Core\Theme\Plugin\DesignTokenValueCode
public function defaultConfiguration() : array {
return [
// 0 is not an authorized value, this forces to set an authorized value.
'value' => 0,
] + parent::defaultConfiguration();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.