public DataDefinition::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/TypedData/DataDefinition.php, line 146
Class
- DataDefinition
- A typed data definition class for defining data based on defined data types.
Namespace
Drupal\Core\TypedData
Code
public function isComputed() { return !empty($this->definition['computed']); }
Please login to continue.