Skip to content
Snippets Groups Projects
Commit 501f18eb authored by Jennifer Hodgdon's avatar Jennifer Hodgdon
Browse files

Issue #2604018 by heykarthikwithu, snehi, kaushalkishorejaiswal, pjonckiere:...

Issue #2604018 by heykarthikwithu, snehi, kaushalkishorejaiswal, pjonckiere: Add @param documentation in __construct() of User module

(cherry picked from commit cbe1e395)
parent aaabb05c
No related merge requests found
......@@ -55,10 +55,14 @@ class PrivateTempStoreFactory {
/**
* Constructs a Drupal\user\PrivateTempStoreFactory object.
*
* @param \Drupal\Core\Database\Connection $connection
* The connection object used for this data.
* @param \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface $storage_factory
* The key/value store factory.
* @param \Drupal\Core\Lock\LockBackendInterface $lockBackend
* The lock object used for this data.
* @param \Drupal\Core\Session\AccountProxyInterface $current_user
* The current account.
* @param \Symfony\Component\HttpFoundation\RequestStack $request_stack
* The request stack.
* @param int $expire
* The time to live for items, in seconds.
*/
......
......@@ -47,8 +47,8 @@ class SharedTempStoreFactory {
/**
* Constructs a Drupal\user\SharedTempStoreFactory object.
*
* @param \Drupal\Core\Database\Connection $connection
* The connection object used for this data.
* @param \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface $storage_factory
* The key/value store factory.
* @param \Drupal\Core\Lock\LockBackendInterface $lockBackend
* The lock object used for this data.
* @param \Symfony\Component\HttpFoundation\RequestStack $request_stack
......
......@@ -56,6 +56,8 @@ class AdminNegotiator implements ThemeNegotiatorInterface {
* The config factory.
* @param \Drupal\Core\Entity\EntityManagerInterface $entity_manager
* The entity manager.
* @param \Drupal\Core\Routing\AdminContext $admin_context
* The route admin context to determine whether the route is an admin one.
*/
public function __construct(AccountInterface $user, ConfigFactoryInterface $config_factory, EntityManagerInterface $entity_manager, AdminContext $admin_context) {
$this->user = $user;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment