You are here

public function Term::defaultConfiguration in Term condition 2.0.x

Same name and namespace in other branches
  1. 8 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\Condition

Code

public function defaultConfiguration() {
  return [
    'tid' => NULL,
  ] + parent::defaultConfiguration();
}