function DataDefinitionInterface::isReadOnly

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::isReadOnly()
  2. 10 core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::isReadOnly()
  3. 11.x core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::isReadOnly()

Determines whether the data is read-only.

Return value

bool Whether the data is read-only.

3 methods override DataDefinitionInterface::isReadOnly()
BaseFieldOverride::isReadOnly in core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php
Determines whether the data is read-only.
DataDefinition::isReadOnly in core/lib/Drupal/Core/TypedData/DataDefinition.php
Determines whether the data is read-only.
FieldConfig::isReadOnly in core/modules/field/src/Entity/FieldConfig.php
Determines whether the data is read-only.

File

core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php, line 97

Class

DataDefinitionInterface
Interface for data definitions.

Namespace

Drupal\Core\TypedData

Code

public function isReadOnly();

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