public function LingotekApi::getProfileId in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::getProfileId()
- 7.2 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::getProfileId()
- 7.3 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::getProfileId()
- 7.4 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::getProfileId()
- 7.6 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::getProfileId()
Uses getProfileAttributes to Get the User Profile Attributes, and return the ID.
1 call to LingotekApi::getProfileId()
- LingotekApi::checkUserWorkbenchLinkPermissions in lib/
Drupal/ lingotek/ LingotekApi.php - Configures the Lingotek community to allow the local Drupal user to use the Workbench.
File
- lib/
Drupal/ lingotek/ LingotekApi.php, line 538 - Defines Drupal\lingotek\LingotekApi
Class
- LingotekApi
- @file Defines Drupal\lingotek\LingotekApi
Code
public function getProfileId($externalId = NULL) {
$result = FALSE;
$profile = $this
->getProfileAttributes($externalId);
if ($profile) {
$result = $profile->id;
}
return $result;
}