You are here

public function Lingotek::getProject in Lingotek Translation 3.4.x

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

Gets the project with the given ID.

Parameters

string $project_id: The project ID.

Return value

array|bool Array with project information.

Overrides LingotekInterface::getProject

File

src/Lingotek.php, line 201

Class

Lingotek
The connecting class between Drupal and Lingotek

Namespace

Drupal\lingotek

Code

public function getProject($project_id) {
  return $this->api
    ->getProject($project_id);
}