Skip to content
Snippets Groups Projects

Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS

Closed Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS
Closed Harumi Jang requested to merge issue/drupal-3238915:3238915-refactor-if-feasible into 9.3.x
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
  • f1f7fb4f
    Issue #3213023 by thursday_bw: Improve the intelligibility of error messages... · f1f7fb4f
    catch authored
    Issue #3213023 by thursday_bw: Improve the intelligibility of error messages in Entity/FieldConfig.php
@@ -312,10 +312,10 @@ public function getFieldStorageDefinition() {
}
if (!$field_storage_definition) {
throw new FieldException("Attempt to create a field {$this->field_name} that does not exist on entity type {$this->entity_type}.");
throw new FieldException("Attempted to create an instance of field with name {$this->field_name} on entity type {$this->entity_type} when the field storage does not exist.");
}
if (!$field_storage_definition instanceof FieldStorageConfigInterface) {
throw new FieldException("Attempt to create a configurable field of non-configurable field storage {$this->field_name}.");
throw new FieldException("Attempted to create a configurable field of non-configurable field storage {$this->field_name}.");
}
$this->fieldStorage = $field_storage_definition;
}
Loading