public function Lingotek::getProjects in Lingotek Translation 3.5.x
Same name and namespace in other branches
- 8 src/Lingotek.php \Drupal\lingotek\Lingotek::getProjects()
- 8.2 src/Lingotek.php \Drupal\lingotek\Lingotek::getProjects()
- 4.0.x src/Lingotek.php \Drupal\lingotek\Lingotek::getProjects()
- 3.0.x src/Lingotek.php \Drupal\lingotek\Lingotek::getProjects()
- 3.1.x src/Lingotek.php \Drupal\lingotek\Lingotek::getProjects()
- 3.2.x src/Lingotek.php \Drupal\lingotek\Lingotek::getProjects()
- 3.3.x src/Lingotek.php \Drupal\lingotek\Lingotek::getProjects()
- 3.4.x src/Lingotek.php \Drupal\lingotek\Lingotek::getProjects()
- 3.6.x src/Lingotek.php \Drupal\lingotek\Lingotek::getProjects()
- 3.7.x src/Lingotek.php \Drupal\lingotek\Lingotek::getProjects()
- 3.8.x src/Lingotek.php \Drupal\lingotek\Lingotek::getProjects()
Gets the account related projects.
Parameters
bool $force: Flag indicating if it must be forced to request from the API. If false, will use local cached data.
Return value
array|bool Array with projects information. FALSE in case of error. The keys are the ids, and values are the name of the resource.
Overrides LingotekInterface::getProjects
1 call to Lingotek::getProjects()
- Lingotek::getResources in src/
Lingotek.php - Gets the account related resources.
File
- src/
Lingotek.php, line 187
Class
- Lingotek
- The connecting class between Drupal and Lingotek
Namespace
Drupal\lingotekCode
public function getProjects($force = FALSE) {
return $this
->getResource('account.resources.project', 'getProjects', $force);
}