public RelationLinkManager::__construct(CacheBackendInterface $cache, EntityManagerInterface $entity_manager, ModuleHandlerInterface $module_handler, ConfigFactoryInterface $config_factory, RequestStack $request_stack)
Constructor.
Parameters
\Drupal\Core\Cache\CacheBackendInterface $cache: The cache of relation URIs and their associated Typed Data IDs.
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.
File
- core/modules/rest/src/LinkManager/RelationLinkManager.php, line 48
Class
Namespace
Drupal\rest\LinkManager
Code
public function __construct(CacheBackendInterface $cache, EntityManagerInterface $entity_manager, ModuleHandlerInterface $module_handler, ConfigFactoryInterface $config_factory, RequestStack $request_stack) {
$this->cache = $cache;
$this->entityManager = $entity_manager;
$this->configFactory = $config_factory;
$this->moduleHandler = $module_handler;
$this->requestStack = $request_stack;
}
Please login to continue.