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

Breadcrumb

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

function ProblemNormalizerContextBuilder::withTitle

Configure the title field of normalized data.

File

vendor/symfony/serializer/Context/Normalizer/ProblemNormalizerContextBuilder.php, line 30

Class

ProblemNormalizerContextBuilder
A helper providing autocompletion for available ProblemNormalizer options.

Namespace

Symfony\Component\Serializer\Context\Normalizer

Code

public function withTitle(?string $title) : static {
    return $this->with(ProblemNormalizer::TITLE, $title);
}
RSS feed
Powered by Drupal