LayoutSectionStorageParamConverter
class LayoutSectionStorageParamConverter implements ParamConverterInterface (View source)
| internal | Tagged services are internal. |
Loads the section storage from the routing defaults.
Properties
| protected SectionStorageManagerInterface | $sectionStorageManager | The section storage manager. |
Methods
__construct(SectionStorageManagerInterface $section_storage_manager)
Constructs a new LayoutSectionStorageParamConverter.
mixed|null
convert(mixed $value, mixed $definition, string $name, array $defaults)
Converts path variables to their corresponding objects.
bool
applies(mixed $definition, string $name, Route $route)
Determines if the converter applies to a specific route and variable.
Details
__construct(SectionStorageManagerInterface $section_storage_manager)
Constructs a new LayoutSectionStorageParamConverter.
mixed|null
convert(mixed $value, mixed $definition, string $name, array $defaults)
Converts path variables to their corresponding objects.
bool
applies(mixed $definition, string $name, Route $route)
Determines if the converter applies to a specific route and variable.