You are here

public function LingotekFake::getCommunities in Lingotek Translation 8.2

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

Overrides LingotekInterface::getCommunities

1 call to LingotekFake::getCommunities()
LingotekFake::getResources in tests/modules/lingotek_test/src/LingotekFake.php

File

tests/modules/lingotek_test/src/LingotekFake.php, line 131

Class

LingotekFake

Namespace

Drupal\lingotek_test

Code

public function getCommunities($force = FALSE) {
  return [
    'test_community' => 'Test community',
    'test_community2' => 'Test community 2',
  ];
}