class ReadOnlyException

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/TypedData/Exception/ReadOnlyException.php \Drupal\Core\TypedData\Exception\ReadOnlyException
  2. 8.9.x core/lib/Drupal/Core/TypedData/Exception/ReadOnlyException.php \Drupal\Core\TypedData\Exception\ReadOnlyException
  3. 10 core/lib/Drupal/Core/TypedData/Exception/ReadOnlyException.php \Drupal\Core\TypedData\Exception\ReadOnlyException

Exception thrown when trying to write or set ready-only data.

Hierarchy

  • class \Drupal\Core\TypedData\Exception\ReadOnlyException extends \Drupal\Core\TypedData\Exception\Exception

Expanded class hierarchy of ReadOnlyException

File

core/lib/Drupal/Core/TypedData/Exception/ReadOnlyException.php, line 8

Namespace

Drupal\Core\TypedData\Exception
View source
class ReadOnlyException extends \Exception {

}

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