diff -u b/core/modules/field/src/Entity/FieldStorageConfig.php b/core/modules/field/src/Entity/FieldStorageConfig.php --- b/core/modules/field/src/Entity/FieldStorageConfig.php +++ b/core/modules/field/src/Entity/FieldStorageConfig.php @@ -283,7 +283,7 @@ // Check that the field type is known. $field_type = \Drupal::service('plugin.manager.field.field_type')->getDefinition($this->type, FALSE); if (!$field_type) { - throw new FieldException(String::format('Attempt to create a field storage of unknown type %type.', array('%type' => $this->type))); + throw new FieldException(String::format('Attempt to create a field storage of unknown type %type.', ['%type' => $this->type])); } $this->module = $field_type['provider'];