UserAwareInterface.php in Open Social 10.2.x
Same filename and directory in other branches
Namespace
Drupal\social_user\WrappersFile
modules/social_features/social_user/src/Wrappers/UserAwareInterface.phpView source
<?php
namespace Drupal\social_user\Wrappers;
use Drupal\user\UserInterface;
/**
* Provides a common interface for data that may contain a user entity.
*/
interface UserAwareInterface {
/**
* Return the user information.
*
* @return \Drupal\user\UserInterface|null
* The user entity.
*/
public function getUser() : ?UserInterface;
}
Interfaces
Name | Description |
---|---|
UserAwareInterface | Provides a common interface for data that may contain a user entity. |