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. 10 core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php \Drupal\Core\Field\Entity\BaseFieldOverride::isReadOnly()
  3. 11.x 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 132

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.