function FieldConfigBase::isInternal
Determines whether the data value is internal.
This can be used in a scenario when it is not desirable to expose this data value to an external system.
Return value
bool Whether the data value is internal.
Overrides DataDefinitionInterface::isInternal
File
-
core/
lib/ Drupal/ Core/ Field/ FieldConfigBase.php, line 589
Class
- FieldConfigBase
- Base class for configurable field definitions.
Namespace
Drupal\Core\FieldCode
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.