You are here

protected function ComputedFieldItemTrait::computeFunctionNameExists in Computed Field 8.2

Determines if a compute function exists for this field.

Return value

string The function name.

2 calls to ComputedFieldItemTrait::computeFunctionNameExists()
ComputedFieldItemTrait::executeCode in src/Plugin/Field/FieldType/ComputedFieldItemTrait.php
Performs the field value computation.
ComputedFieldItemTrait::fieldSettingsForm in src/Plugin/Field/FieldType/ComputedFieldItemTrait.php

File

src/Plugin/Field/FieldType/ComputedFieldItemTrait.php, line 113

Class

ComputedFieldItemTrait
Common methods for Computed Field FieldType plugins.

Namespace

Drupal\computed_field\Plugin\Field\FieldType

Code

protected function computeFunctionNameExists() {
  return function_exists($this
    ->getComputeFunctionName());
}