function DataDefinition::isInternal
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/DataDefinition.php \Drupal\Core\TypedData\DataDefinition::isInternal()
- 8.9.x core/lib/Drupal/Core/TypedData/DataDefinition.php \Drupal\Core\TypedData\DataDefinition::isInternal()
- 10 core/lib/Drupal/Core/TypedData/DataDefinition.php \Drupal\Core\TypedData\DataDefinition::isInternal()
Overrides DataDefinitionInterface::isInternal
1 method overrides DataDefinition::isInternal()
- BaseFieldDefinition::isInternal in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - Determines whether the data value is internal.
File
-
core/
lib/ Drupal/ Core/ TypedData/ DataDefinition.php, line 378
Class
- DataDefinition
- A typed data definition class for defining data based on defined data types.
Namespace
Drupal\Core\TypedDataCode
public function isInternal() {
// Respect the definition, otherwise default to TRUE for computed fields.
if (isset($this->definition['internal'])) {
return $this->definition['internal'];
}
return $this->isComputed();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.