public function LanguageNegotiationAdministrationLanguage::__construct in Administration Language Negotiation 8
Constructs a RequestPath condition plugin.
Parameters
\Drupal\administration_language_negotiation\AdministrationLanguageNegotiationConditionManager $manager: The current path.
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
array $plugin_definition: The plugin implementation definition.
File
- src/
Plugin/ LanguageNegotiation/ LanguageNegotiationAdministrationLanguage.php, line 51
Class
- LanguageNegotiationAdministrationLanguage
- Class for identifying language from a administration language negotiation.
Namespace
Drupal\administration_language_negotiation\Plugin\LanguageNegotiationCode
public function __construct(AdministrationLanguageNegotiationConditionManager $manager, array $configuration, $plugin_id, array $plugin_definition) {
$this->conditionManager = $manager;
}