interface UserAwareInterface in Open Social 10.1.x
Same name and namespace in other branches
- 10.3.x modules/social_features/social_user/src/Wrappers/UserAwareInterface.php \Drupal\social_user\Wrappers\UserAwareInterface
- 10.2.x modules/social_features/social_user/src/Wrappers/UserAwareInterface.php \Drupal\social_user\Wrappers\UserAwareInterface
Provides a common interface for data that may contain a user entity.
Hierarchy
- interface \Drupal\social_user\Wrappers\UserAwareInterface
Expanded class hierarchy of UserAwareInterface
All classes that implement UserAwareInterface
1 file declares its use of UserAwareInterface
- UserFromWrapper.php in modules/
social_features/ social_user/ src/ Plugin/ GraphQL/ DataProducer/ UserFromWrapper.php
File
- modules/
social_features/ social_user/ src/ Wrappers/ UserAwareInterface.php, line 10
Namespace
Drupal\social_user\WrappersView source
interface UserAwareInterface {
/**
* Return the user information.
*
* @return \Drupal\user\UserInterface|null
* The user entity.
*/
public function getUser() : ?UserInterface;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
UserAwareInterface:: |
public | function | Return the user information. |