Skip to content
Snippets Groups Projects
Commit ca435ae9 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #686596 by dhthwy: child before parent class definition order breaks some opcode cachers.

parent f1c24805
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -5,6 +5,14 @@ ...@@ -5,6 +5,14 @@
* Attach custom data fields to Drupal entities. * Attach custom data fields to Drupal entities.
*/ */
/**
* Base class for all exceptions thrown by Field API functions.
*
* This class has no functionality of its own other than allowing all
* Field API exceptions to be caught by a single catch block.
*/
class FieldException extends Exception {}
/* /*
* Load all public Field API functions. Drupal currently has no * Load all public Field API functions. Drupal currently has no
* mechanism for auto-loading core APIs, so we have to load them on * mechanism for auto-loading core APIs, so we have to load them on
...@@ -115,14 +123,6 @@ ...@@ -115,14 +123,6 @@
* @} End of "Field query flags". * @} End of "Field query flags".
*/ */
/**
* Base class for all exceptions thrown by Field API functions.
*
* This class has no functionality of its own other than allowing all
* Field API exceptions to be caught by a single catch block.
*/
class FieldException extends Exception {}
/** /**
* Exception class thrown by hook_field_update_forbid(). * Exception class thrown by hook_field_update_forbid().
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment