You are here

public function LingotekInterface::getProjects in Lingotek Translation 3.4.x

Same name and namespace in other branches
  1. 8 src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getProjects()
  2. 8.2 src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getProjects()
  3. 4.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getProjects()
  4. 3.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getProjects()
  5. 3.1.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getProjects()
  6. 3.2.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getProjects()
  7. 3.3.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getProjects()
  8. 3.5.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getProjects()
  9. 3.6.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getProjects()
  10. 3.7.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getProjects()
  11. 3.8.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::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.

2 methods override LingotekInterface::getProjects()
Lingotek::getProjects in src/Lingotek.php
Gets the account related projects.
LingotekFake::getProjects in tests/modules/lingotek_test/src/LingotekFake.php
Gets the account related projects.

File

src/LingotekInterface.php, line 162

Class

LingotekInterface

Namespace

Drupal\lingotek

Code

public function getProjects($force = FALSE);