protected property SocialAddRoleUser::$currentUser in Open Social 8.9
Same name and namespace in other branches
- 8.7 modules/social_features/social_user/src/Plugin/Action/SocialAddRoleUser.php \Drupal\social_user\Plugin\Action\SocialAddRoleUser::currentUser
- 8.8 modules/social_features/social_user/src/Plugin/Action/SocialAddRoleUser.php \Drupal\social_user\Plugin\Action\SocialAddRoleUser::currentUser
- 10.3.x modules/social_features/social_user/src/Plugin/Action/SocialAddRoleUser.php \Drupal\social_user\Plugin\Action\SocialAddRoleUser::currentUser
- 10.0.x modules/social_features/social_user/src/Plugin/Action/SocialAddRoleUser.php \Drupal\social_user\Plugin\Action\SocialAddRoleUser::currentUser
- 10.1.x modules/social_features/social_user/src/Plugin/Action/SocialAddRoleUser.php \Drupal\social_user\Plugin\Action\SocialAddRoleUser::currentUser
- 10.2.x modules/social_features/social_user/src/Plugin/Action/SocialAddRoleUser.php \Drupal\social_user\Plugin\Action\SocialAddRoleUser::currentUser
The account proxy interface.
Type: \Drupal\Core\Session\AccountProxyInterface
File
- modules/
social_features/ social_user/ src/ Plugin/ Action/ SocialAddRoleUser.php, line 30
Class
- SocialAddRoleUser
- Adds a role to a user but restricted by role.
Namespace
Drupal\social_user\Plugin\ActionCode
protected $currentUser;