You are here

public function UserEmail::getValue in Open Social 8.8

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserEmail.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserEmail::getValue()
  2. 8.3 modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserEmail.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserEmail::getValue()
  3. 8.4 modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserEmail.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserEmail::getValue()
  4. 8.5 modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserEmail.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserEmail::getValue()
  5. 8.6 modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserEmail.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserEmail::getValue()
  6. 8.7 modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserEmail.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserEmail::getValue()
  7. 10.3.x modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserEmail.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserEmail::getValue()
  8. 10.0.x modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserEmail.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserEmail::getValue()
  9. 10.1.x modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserEmail.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserEmail::getValue()
  10. 10.2.x modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserEmail.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserEmail::getValue()

Returns the value.

Parameters

\Drupal\user\UserInterface $entity: The User entity to get the value from.

Return value

string The value.

Overrides UserExportPluginBase::getValue

1 call to UserEmail::getValue()
EnrolmentUserEmail::getValue in modules/social_features/social_event/modules/social_event_an_enroll_enrolments_export/src/Plugin/UserExportPlugin/EnrolmentUserEmail.php
Returns the value.
1 method overrides UserEmail::getValue()
EnrolmentUserEmail::getValue in modules/social_features/social_event/modules/social_event_an_enroll_enrolments_export/src/Plugin/UserExportPlugin/EnrolmentUserEmail.php
Returns the value.

File

modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserEmail.php, line 29

Class

UserEmail
Provides a 'UserEmail' user export row.

Namespace

Drupal\social_user_export\Plugin\UserExportPlugin

Code

public function getValue(UserInterface $entity) {
  return $entity
    ->getEmail();
}