You are here

protected function EntityFieldOperationCompareType::getValueType in Entity Field Condition 2.0.x

Get the value type.

Return value

string The value type.

2 calls to EntityFieldOperationCompareType::getValueType()
EntityFieldOperationCompareType::buildConfigurationForm in src/Plugin/EntityFieldCondition/CompareType/EntityFieldOperationCompareType.php
Form constructor.
EntityFieldOperationCompareType::getEntityFieldValue in src/Plugin/EntityFieldCondition/CompareType/EntityFieldOperationCompareType.php
Get entity field value.

File

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

Class

EntityFieldOperationCompareType
Define the entity field operation compare type plugin.

Namespace

Drupal\entity_field_condition\Plugin\EntityFieldCondition\CompareType

Code

protected function getValueType() : string {
  return $this
    ->getConfiguration()['value_type'] ?? 'default';
}