public function Term::defaultConfiguration in Term condition 8
Same name and namespace in other branches
- 2.0.x src/Plugin/Condition/Term.php \Drupal\term_condition\Plugin\Condition\Term::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConditionPluginBase::defaultConfiguration
File
- src/
Plugin/ Condition/ Term.php, line 108 - Contains \Drupal\term_condition\Plugin\Condition\Term.
Class
- Term
- Provides a 'Term' condition to enable a condition based in module selected status.
Namespace
Drupal\term_condition\Plugin\ConditionCode
public function defaultConfiguration() {
return [
'tid' => NULL,
] + parent::defaultConfiguration();
}