ParamConverterManagerInterface::addConverter

public ParamConverterManagerInterface::addConverter(ParamConverterInterface $param_converter, $id)

Registers a parameter converter with the manager.

Parameters

\Drupal\Core\ParamConverter\ParamConverterInterface $param_converter: The added param converter instance.

string $id: The parameter converter service id to register.

Return value

$this

File

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

Class

ParamConverterManagerInterface
Provides an interface for a parameter converter manager.

Namespace

Drupal\Core\ParamConverter

Code

public function addConverter(ParamConverterInterface $param_converter, $id);
doc_Drupal
2016-10-29 09:33:09
Comments
Leave a Comment

Please login to continue.