You are here

public function Language::defaultConfiguration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/language/src/Plugin/Condition/Language.php \Drupal\language\Plugin\Condition\Language::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConditionPluginBase::defaultConfiguration

File

core/modules/language/src/Plugin/Condition/Language.php, line 152
Contains \Drupal\language\Plugin\Condition\Language.

Class

Language
Provides a 'Language' condition.

Namespace

Drupal\language\Plugin\Condition

Code

public function defaultConfiguration() {
  return array(
    'langcodes' => array(),
  ) + parent::defaultConfiguration();
}