Documentation

CatalogEntityTypeParamConverter
in package
implements ParamConverterInterface

Param converter to make sure the correct entity is being loaded.

Table of Contents

Interfaces

ParamConverterInterface

Properties

$bundleTypeInfo  : EntityTypeBundleInfoInterface
The Entity type bundle info interface.
$entityTypeManager  : EntityTypeManager
The entity type manager interface.

Methods

__construct()  : mixed
The constructor for the class.
applies()  : bool
{@inheritdoc}
convert()  : mixed
{@inheritdoc}

Properties

Methods

__construct()

The constructor for the class.

public __construct(EntityTypeManagerInterface $entity_manager, EntityTypeBundleInfoInterface $bundle_info) : mixed
Parameters
$entity_manager : EntityTypeManagerInterface
$bundle_info : EntityTypeBundleInfoInterface

applies()

{@inheritdoc}

public applies(mixed $definition, mixed $name, Route $route) : bool
Parameters
$definition : mixed
$name : mixed
$route : Route
Return values
bool

convert()

{@inheritdoc}

public convert(mixed $value, mixed $definition, mixed $name, array<string|int, mixed> $defaults) : mixed
Parameters
$value : mixed
$definition : mixed
$name : mixed
$defaults : array<string|int, mixed>

        
On this page

Search results