Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FieldException.php

class FieldException

Base class for all exceptions thrown by the Entity Field API functions.

This class has no functionality of its own other than allowing all Entity Field API exceptions to be caught by a single catch block.

Hierarchy

  • class \Drupal\Core\Field\FieldException extends \Drupal\Core\Field\RuntimeException

Expanded class hierarchy of FieldException

7 files declare their use of FieldException
BaseFieldOverride.php in core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php
EntityReferenceItem.php in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
field.purge.inc in core/modules/field/field.purge.inc
FieldConfig.php in core/modules/field/src/Entity/FieldConfig.php
FieldStorageConfig.php in core/modules/field/src/Entity/FieldStorageConfig.php

... See full list

File

core/lib/Drupal/Core/Field/FieldException.php, line 11

Namespace

Drupal\Core\Field
View source
class FieldException extends \RuntimeException {

}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal