commit 72afe9221f
Author: Ghost Of Drupal Past <drupal@negyesi.net>
Date:   Mon Oct 28 11:29:16 2024 +0100

    field_field_config_create

diff --git a/core/modules/field/field.module b/core/modules/field/field.module
index f72513d210..ec84559d6b 100644
--- a/core/modules/field/field.module
+++ b/core/modules/field/field.module
@@ -80,7 +80,7 @@ function field_form_field_config_edit_form_entity_builder($entity_type_id, $enti
     // @see field_field_storage_config_update().
     $entity->setSetting('handler_settings', []);
     // @see field_field_config_presave().
-    field_field_config_create($entity);
+    \Drupal::moduleHandler()->invoke('field', 'field_config_create', [$entity]);
 
     // Store updated settings in form state so that the form state can be copied
     // directly to the entity.
diff --git a/core/modules/field/src/Hook/FieldHooks.php b/core/modules/field/src/Hook/FieldHooks.php
index 8b53f37cb2..3f162b98c6 100644
--- a/core/modules/field/src/Hook/FieldHooks.php
+++ b/core/modules/field/src/Hook/FieldHooks.php
@@ -377,7 +377,7 @@ public function fieldConfigPresave(FieldConfigInterface $field) {
     if ($field->isSyncing()) {
       return;
     }
-    field_field_config_create($field);
+    $this->fieldConfigCreate($field);
     // Act on all sub-types of the entity_reference field type.
     /** @var \Drupal\Core\Field\FieldTypePluginManager $field_type_manager */
     $field_type_manager = \Drupal::service('plugin.manager.field.field_type');
