You are here

public function BaseFieldOverride::isComputed in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php \Drupal\Core\Field\Entity\BaseFieldOverride::isComputed()

Determines whether the data value is computed.

For example, data could be computed depending on some other values.

Return value

bool Whether the data value is computed.

Overrides DataDefinitionInterface::isComputed

File

core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php, line 139

Class

BaseFieldOverride
Defines the base field override entity.

Namespace

Drupal\Core\Field\Entity

Code

public function isComputed() {
  return $this
    ->getBaseFieldDefinition()
    ->isComputed();
}