You are here

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

Get the value.

Return value

string The value type.

2 calls to EntityFieldOperationCompareType::getValue()
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 165

Class

EntityFieldOperationCompareType
Define the entity field operation compare type plugin.

Namespace

Drupal\entity_field_condition\Plugin\EntityFieldCondition\CompareType

Code

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