You are here

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

Get the value operation.

Return value

string|null The value operation.

2 calls to EntityFieldOperationCompareType::getValueOperation()
EntityFieldOperationCompareType::buildConfigurationForm in src/Plugin/EntityFieldCondition/CompareType/EntityFieldOperationCompareType.php
Form constructor.
EntityFieldOperationCompareType::compareValue in src/Plugin/EntityFieldCondition/CompareType/EntityFieldOperationCompareType.php
Compare the field value based on operation.

File

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

Class

EntityFieldOperationCompareType
Define the entity field operation compare type plugin.

Namespace

Drupal\entity_field_condition\Plugin\EntityFieldCondition\CompareType

Code

protected function getValueOperation() : ?string {
  return $this
    ->getConfiguration()['value_operation'] ?? NULL;
}