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

Breadcrumb

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

function RouteTrait::utf8

Whether paths should accept utf8 encoding.

Return value

$this

File

vendor/symfony/routing/Loader/Configurator/Traits/RouteTrait.php, line 62

Class

RouteTrait

Namespace

Symfony\Component\Routing\Loader\Configurator\Traits

Code

public final function utf8(bool $utf8 = true) : static {
    $this->route
        ->addOptions([
        'utf8' => $utf8,
    ]);
    return $this;
}

API Navigation

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