You are here

public function EntityFieldOperationCompareType::defaultConfiguration in Entity Field Condition 2.0.x

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides EntityFieldCompareTypePluginBase::defaultConfiguration

File

src/Plugin/EntityFieldCondition/CompareType/EntityFieldOperationCompareType.php, line 23

Class

EntityFieldOperationCompareType
Define the entity field operation compare type plugin.

Namespace

Drupal\entity_field_condition\Plugin\EntityFieldCondition\CompareType

Code

public function defaultConfiguration() : array {
  return [
    'value' => NULL,
    'value_type' => NULL,
    'value_operation' => NULL,
  ] + parent::defaultConfiguration();
}