You are here

public function LanguageSelectionPageConditionIgnoreNeutral::__construct in Language Selection Page 8.2

LanguageSelectionPageConditionIgnoreNeutral constructor.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: The Route Match object.

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.

Overrides ConditionPluginBase::__construct

File

src/Plugin/LanguageSelectionPageCondition/LanguageSelectionPageConditionIgnoreNeutral.php, line 46

Class

LanguageSelectionPageConditionIgnoreNeutral
Class for the Ignore Language Neutral plugin.

Namespace

Drupal\language_selection_page\Plugin\LanguageSelectionPageCondition

Code

public function __construct(RouteMatchInterface $route_match, array $configuration, $plugin_id, array $plugin_definition) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->routeMatch = $route_match;
}