public function EntityFieldCondition::defaultConfiguration in Context entity field 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConditionPluginBase::defaultConfiguration
File
- src/
Plugin/ Condition/ EntityFieldCondition.php, line 166
Class
- EntityFieldCondition
- Provides an 'Entity Field' condition.
Namespace
Drupal\context_entity_field\Plugin\ConditionCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'field_name' => '',
'field_state' => 'filled',
'field_value' => '',
];
}