Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AttributeMetadataInterface.php

function AttributeMetadataInterface::setNormalizationContextForGroups

Sets the normalization context for given groups.

1 method overrides AttributeMetadataInterface::setNormalizationContextForGroups()
AttributeMetadata::setNormalizationContextForGroups in vendor/symfony/serializer/Mapping/AttributeMetadata.php
Sets the normalization context for given groups.

File

vendor/symfony/serializer/Mapping/AttributeMetadataInterface.php, line 96

Class

AttributeMetadataInterface
Stores metadata needed for serializing and deserializing attributes.

Namespace

Symfony\Component\Serializer\Mapping

Code

public function setNormalizationContextForGroups(array $context, array $groups = []) : void;
RSS feed
Powered by Drupal