You are here

public function Lingotek::getResources in Lingotek Translation 8.2

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

Overrides LingotekInterface::getResources

File

src/Lingotek.php, line 108

Class

Lingotek
The connecting class between Drupal and Lingotek

Namespace

Drupal\lingotek

Code

public function getResources($force = FALSE) {
  return [
    'community' => $this
      ->getCommunities($force),
    'project' => $this
      ->getProjects($force),
    'vault' => $this
      ->getVaults($force),
    'workflow' => $this
      ->getWorkflows($force),
    'filter' => $this
      ->getFilters($force),
  ];
}