public function BaseFieldOverride::isReadOnly in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php \Drupal\Core\Field\Entity\BaseFieldOverride::isReadOnly()
Determines whether the data is read-only.
Return value
bool Whether the data is read-only.
Overrides DataDefinitionInterface::isReadOnly
File
- core/
lib/ Drupal/ Core/ Field/ Entity/ BaseFieldOverride.php, line 132
Class
- BaseFieldOverride
- Defines the base field override entity.
Namespace
Drupal\Core\Field\EntityCode
public function isReadOnly() {
return $this
->getBaseFieldDefinition()
->isReadOnly();
}