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

Breadcrumb

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

function ConfigurableRequirementsInterface::setStrictRequirements

Enables or disables the exception on incorrect parameters. Passing null will deactivate the requirements check completely.

1 method overrides ConfigurableRequirementsInterface::setStrictRequirements()
UrlGenerator::setStrictRequirements in vendor/symfony/routing/Generator/UrlGenerator.php
Enables or disables the exception on incorrect parameters. Passing null will deactivate the requirements check completely.

File

vendor/symfony/routing/Generator/ConfigurableRequirementsInterface.php, line 44

Class

ConfigurableRequirementsInterface
ConfigurableRequirementsInterface must be implemented by URL generators that can be configured whether an exception should be generated when the parameters do not match the requirements. It is also possible to disable the requirements check for URL…

Namespace

Symfony\Component\Routing\Generator

Code

public function setStrictRequirements(?bool $enabled) : void;

API Navigation

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