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

Breadcrumb

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

YamlEncoder::YAML_INDENTATION

Override the amount of spaces to use for indentation of nested nodes.

This option only works in the constructor, not in calls to `encode`.

File

vendor/symfony/serializer/Encoder/YamlEncoder.php, line 36

Class

YamlEncoder
Encodes YAML data.

Namespace

Symfony\Component\Serializer\Encoder

Code

public const YAML_INDENTATION = 'yaml_indentation';

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal