public function PluginTypeBasedConverterTrait::__construct in Plugin 8.2
Constructs a new instance.
Parameters
\Drupal\plugin\PluginType\PluginTypeManagerInterface $plugin_type_manager:
File
- src/
ParamConverter/ PluginTypeBasedConverterTrait.php, line 30
Class
- PluginTypeBasedConverterTrait
- Implements \Drupal\Core\ParamConverter\ParamConverterInterface for plugin type-based route parameter converters.
Namespace
Drupal\plugin\ParamConverterCode
public function __construct(PluginTypeManagerInterface $plugin_type_manager) {
$this->pluginTypeManager = $plugin_type_manager;
}