public function SocialProfilePrivacyHelperInterface::getFieldOptions in Open Social 10.2.x
Same name and namespace in other branches
- 10.3.x modules/social_features/social_profile/modules/social_profile_privacy/src/Service/SocialProfilePrivacyHelperInterface.php \Drupal\social_profile_privacy\Service\SocialProfilePrivacyHelperInterface::getFieldOptions()
- 10.0.x modules/social_features/social_profile/modules/social_profile_privacy/src/Service/SocialProfilePrivacyHelperInterface.php \Drupal\social_profile_privacy\Service\SocialProfilePrivacyHelperInterface::getFieldOptions()
- 10.1.x modules/social_features/social_profile/modules/social_profile_privacy/src/Service/SocialProfilePrivacyHelperInterface.php \Drupal\social_profile_privacy\Service\SocialProfilePrivacyHelperInterface::getFieldOptions()
Returns field settings of a user profile.
Parameters
\Drupal\Core\Session\AccountInterface|null $account: (optional) The user session for which to check access, or NULL to check access for the current user. Defaults to NULL.
Return value
array The array of field labels and accesses, keyed by field name.
1 method overrides SocialProfilePrivacyHelperInterface::getFieldOptions()
- SocialProfilePrivacyHelper::getFieldOptions in modules/
social_features/ social_profile/ modules/ social_profile_privacy/ src/ Service/ SocialProfilePrivacyHelper.php - Returns field settings of a user profile.
File
- modules/
social_features/ social_profile/ modules/ social_profile_privacy/ src/ Service/ SocialProfilePrivacyHelperInterface.php, line 39
Class
- SocialProfilePrivacyHelperInterface
- Defines the helper service interface.
Namespace
Drupal\social_profile_privacy\ServiceCode
public function getFieldOptions(AccountInterface $account = NULL);