You are here

public function ConfigEntityRevisionsConverterBaseInterface::convert in Config Entity Revisions 1.x

Same name and namespace in other branches
  1. 8.2 src/ConfigEntityRevisionsConverterBaseInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionsConverterBaseInterface::convert()
  2. 8 src/ConfigEntityRevisionsConverterBaseInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionsConverterBaseInterface::convert()

Converts path variables to their corresponding objects.

Parameters

mixed $value: The raw value.

mixed $definition: The parameter definition provided in the route options.

string $name: The name of the parameter.

array $defaults: The route defaults array.

Return value

mixed|null The converted parameter value.

Overrides ParamConverterInterface::convert

File

src/ConfigEntityRevisionsConverterBaseInterface.php, line 17

Class

ConfigEntityRevisionsConverterBaseInterface
Interface for ConfigEntityRevisions parameter converter.

Namespace

Drupal\config_entity_revisions

Code

public function convert($value, $definition, $name, array $defaults);