Update core 8.3.0
This commit is contained in:
parent
da7a7918f8
commit
cd7a898e66
6144 changed files with 132297 additions and 87747 deletions
|
@ -17,6 +17,10 @@ services:
|
|||
tags:
|
||||
- { name: normalizer }
|
||||
arguments: ['@entity.manager']
|
||||
serializer.normalizer.primitive_data:
|
||||
class: Drupal\serialization\Normalizer\PrimitiveDataNormalizer
|
||||
tags:
|
||||
- { name: normalizer, priority: 5, bc: bc_primitives_as_strings, bc_config_name: 'serialization.settings' }
|
||||
serializer.normalizer.complex_data:
|
||||
class: Drupal\serialization\Normalizer\ComplexDataNormalizer
|
||||
tags:
|
||||
|
@ -25,13 +29,28 @@ services:
|
|||
class: Drupal\serialization\Normalizer\EntityReferenceFieldItemNormalizer
|
||||
tags:
|
||||
# Set the priority lower than the hal entity reference field item
|
||||
# normalizer, so that we do not replace that for hal_json.
|
||||
# normalizer, so that we do not replace that for hal_json but higher than
|
||||
# this modules generic field item normalizer.
|
||||
# @todo Find a better way for this in https://www.drupal.org/node/2575761.
|
||||
- { name: normalizer, priority: 5 }
|
||||
- { name: normalizer, priority: 8 }
|
||||
serialization.normalizer.field_item:
|
||||
class: Drupal\serialization\Normalizer\FieldItemNormalizer
|
||||
tags:
|
||||
# Priority must be lower than serializer.normalizer.field_item.hal and any
|
||||
# field type specific normalizer such as
|
||||
# serializer.normalizer.entity_reference_field_item.
|
||||
- { name: normalizer, priority: 6 }
|
||||
serialization.normalizer.field:
|
||||
class: Drupal\serialization\Normalizer\FieldNormalizer
|
||||
tags:
|
||||
# Priority must be lower than serializer.normalizer.field.hal.
|
||||
- { name: normalizer, priority: 6 }
|
||||
serializer.normalizer.list:
|
||||
class: Drupal\serialization\Normalizer\ListNormalizer
|
||||
tags:
|
||||
- { name: normalizer }
|
||||
# Priority must be higher than serialization.normalizer.field but less
|
||||
# than hal field normalizer.
|
||||
- { name: normalizer, priority: 9 }
|
||||
serializer.normalizer.password_field_item:
|
||||
class: Drupal\serialization\Normalizer\NullNormalizer
|
||||
arguments: ['Drupal\Core\Field\Plugin\Field\FieldType\PasswordItem']
|
||||
|
@ -73,4 +92,9 @@ services:
|
|||
class: Drupal\serialization\EventSubscriber\UserRouteAlterSubscriber
|
||||
tags:
|
||||
- { name: event_subscriber }
|
||||
arguments: ['@serializer', '%serializer.formats%']
|
||||
arguments: ['%serializer.formats%']
|
||||
serialization.bc_config_subscriber:
|
||||
class: Drupal\serialization\EventSubscriber\BcConfigSubscriber
|
||||
tags:
|
||||
- { name: event_subscriber }
|
||||
arguments: ['@kernel']
|
||||
|
|
Reference in a new issue