function Typography::__construct

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Theme/Plugin/DesignTokenValue/Typography.php \Drupal\Core\Theme\Plugin\DesignTokenValue\Typography::__construct()

Overrides ConfigurablePluginBase::__construct

File

core/lib/Drupal/Core/Theme/Plugin/DesignTokenValue/Typography.php, line 60

Class

Typography
Typography design token value.

Namespace

Drupal\Core\Theme\Plugin\DesignTokenValue

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, #[Autowire(service: 'plugin.manager.design_token_value')] protected DesignTokenValuePluginManagerInterface $designTokenValuePluginManager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
}

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