function BaseFieldOverride::isReadOnly

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php \Drupal\Core\Field\Entity\BaseFieldOverride::isReadOnly()
  2. 8.9.x core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php \Drupal\Core\Field\Entity\BaseFieldOverride::isReadOnly()
  3. 10 core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php \Drupal\Core\Field\Entity\BaseFieldOverride::isReadOnly()

Overrides DataDefinitionInterface::isReadOnly

File

core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php, line 149

Class

BaseFieldOverride
Defines the base field override entity.

Namespace

Drupal\Core\Field\Entity

Code

public function isReadOnly() {
    return $this->getBaseFieldDefinition()
        ->isReadOnly();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.