function DataDefinition::isComputed
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/DataDefinition.php \Drupal\Core\TypedData\DataDefinition::isComputed()
- 8.9.x core/lib/Drupal/Core/TypedData/DataDefinition.php \Drupal\Core\TypedData\DataDefinition::isComputed()
- 10 core/lib/Drupal/Core/TypedData/DataDefinition.php \Drupal\Core\TypedData\DataDefinition::isComputed()
Overrides DataDefinitionInterface::isComputed
4 calls to DataDefinition::isComputed()
- BaseFieldDefinition::hasCustomStorage in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - Returns the storage behavior for this field.
- BaseFieldDefinition::setCustomStorage in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - Sets the storage behavior for this field.
- DataDefinition::isInternal in core/
lib/ Drupal/ Core/ TypedData/ DataDefinition.php - Determines whether the data value is internal.
- DataDefinition::isReadOnly in core/
lib/ Drupal/ Core/ TypedData/ DataDefinition.php - Determines whether the data is read-only.
File
-
core/
lib/ Drupal/ Core/ TypedData/ DataDefinition.php, line 148
Class
- DataDefinition
- A typed data definition class for defining data based on defined data types.
Namespace
Drupal\Core\TypedDataCode
public function isComputed() {
return !empty($this->definition['computed']);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.