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

Breadcrumb

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

function ParamConverterManagerInterface::convert

Invokes the registered converter for each defined parameter on a route.

Parameters

array $defaults: The route defaults array.

Return value

array The modified defaults.

Throws

\Drupal\Core\ParamConverter\ParamNotConvertedException If one of the assigned converters returned NULL because the given variable could not be converted.

1 method overrides ParamConverterManagerInterface::convert()
ParamConverterManager::convert in core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php
Invokes the registered converter for each defined parameter on a route.

File

core/lib/Drupal/Core/ParamConverter/ParamConverterManagerInterface.php, line 59

Class

ParamConverterManagerInterface
Provides an interface for a parameter converter manager.

Namespace

Drupal\Core\ParamConverter

Code

public function convert(array $defaults);
RSS feed
Powered by Drupal