You are here

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

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

Gets the account related resources.

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 resources info. FALSE in case of error. The keys are community, project, vault, workflow, and filter. Each of them is a nested array with key the id, and value the name of the resource.

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

File

src/LingotekInterface.php, line 110

Class

LingotekInterface

Namespace

Drupal\lingotek

Code

public function getResources($force = FALSE);