public function EntityRevisionParamConverter::__construct
public EntityRevisionParamConverter::__construct(EntityTypeManagerInterface $entity_type_manager)
Creates a new EntityRevisionParamConverter instance.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php, line 40
Class
- EntityRevisionParamConverter
- Parameter converter for upcasting entity revision IDs to full objects.
Namespace
Drupal\Core\ParamConverterCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) { $this->entityTypeManager = $entity_type_manager; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!ParamConverter!EntityRevisionParamConverter.php/function/EntityRevisionParamConverter::__construct/8.1.x