You are here

public function BaseFieldOverride::isReadOnly in Drupal 8

Same name and namespace in other branches
  1. 9 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\Entity

Code

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