You are here

public function UserExportPluginInterface::getProfile in Open Social 8.9

Same name and namespace in other branches
  1. 8.3 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
  2. 8.4 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
  3. 8.5 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
  4. 8.6 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
  5. 8.7 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
  6. 8.8 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
  7. 10.3.x modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
  8. 10.0.x modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
  9. 10.1.x modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::getProfile()
  10. 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\Plugin

Code

public function getProfile(UserInterface $entity);