function Language::__construct

Same name in this branch
  1. 11.x core/modules/language/src/Plugin/Condition/Language.php \Drupal\language\Plugin\Condition\Language::__construct()
  2. 11.x core/lib/Drupal/Core/Language/Language.php \Drupal\Core\Language\Language::__construct()
Same name in other branches
  1. 9 core/modules/language/src/Plugin/Condition/Language.php \Drupal\language\Plugin\Condition\Language::__construct()
  2. 9 core/lib/Drupal/Core/Language/Language.php \Drupal\Core\Language\Language::__construct()
  3. 8.9.x core/modules/language/src/Plugin/Condition/Language.php \Drupal\language\Plugin\Condition\Language::__construct()
  4. 8.9.x core/lib/Drupal/Core/Language/Language.php \Drupal\Core\Language\Language::__construct()
  5. 10 core/modules/language/src/Plugin/Condition/Language.php \Drupal\language\Plugin\Condition\Language::__construct()
  6. 10 core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Language.php \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Language::__construct()
  7. 10 core/lib/Drupal/Core/Language/Language.php \Drupal\Core\Language\Language::__construct()

Language constructor.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin ID for the plugin instance.

\Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition $plugin_definition: The plugin implementation definition.

\Drupal\Core\Language\LanguageManagerInterface $languageManager: The language manager.

\Drupal\Core\Routing\RouteProviderInterface $routeProvider: The route provider.

Overrides CKEditor5PluginDefault::__construct

File

core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Language.php, line 45

Class

Language
CKEditor 5 Language plugin.

Namespace

Drupal\ckeditor5\Plugin\CKEditor5Plugin

Code

public function __construct(array $configuration, string $plugin_id, CKEditor5PluginDefinition $plugin_definition, LanguageManagerInterface $languageManager, RouteProviderInterface $routeProvider) {
    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.