You are here

public function UserNationality::getHeader in Open Social 10.2.x

Same name and namespace in other branches
  1. 10.3.x modules/social_features/social_profile/modules/social_profile_fields/src/Plugin/UserExportPlugin/UserNationality.php \Drupal\social_profile_fields\Plugin\UserExportPlugin\UserNationality::getHeader()
  2. 10.1.x modules/social_features/social_profile/modules/social_profile_fields/src/Plugin/UserExportPlugin/UserNationality.php \Drupal\social_profile_fields\Plugin\UserExportPlugin\UserNationality::getHeader()

Returns the header.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup|string The header.

Overrides UserExportPluginBase::getHeader

File

modules/social_features/social_profile/modules/social_profile_fields/src/Plugin/UserExportPlugin/UserNationality.php, line 22

Class

UserNationality
Provides a 'UserNationality' user export row.

Namespace

Drupal\social_profile_fields\Plugin\UserExportPlugin

Code

public function getHeader() {
  return $this
    ->t('Nationality');
}