public function UserExportPluginInterface::getProfile in Open Social 8.4
Same name and namespace in other branches
- 8.9 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
- 8.3 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
- 8.5 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
- 8.6 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
- 8.7 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
- 8.8 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
- 10.3.x modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
- 10.0.x modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
- 10.1.x modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
- 10.2.x modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
Get the Profile entity.
Parameters
\Drupal\user\UserInterface $entity: The user entity to get the profile from.
Return value
\Drupal\profile\Entity\ProfileInterface|null Returns the Profile or NULL if profile does not exist.
1 method overrides UserExportPluginInterface::getProfile()
- UserExportPluginBase::getProfile in modules/
social_features/ social_user_export/ src/ Plugin/ UserExportPluginBase.php - Get the Profile entity.
File
- modules/
social_features/ social_user_export/ src/ Plugin/ UserExportPluginInterface.php, line 42
Class
- UserExportPluginInterface
- Defines an interface for User export plugin plugins.
Namespace
Drupal\social_user_export\PluginCode
public function getProfile(UserInterface $entity);