public static function LingotekContentMetadata::getAllLocalDocumentIds in Lingotek Translation 3.3.x
Same name and namespace in other branches
- 8.2 src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getAllLocalDocumentIds()
- 4.0.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getAllLocalDocumentIds()
- 3.0.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getAllLocalDocumentIds()
- 3.1.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getAllLocalDocumentIds()
- 3.2.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getAllLocalDocumentIds()
- 3.4.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getAllLocalDocumentIds()
- 3.5.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getAllLocalDocumentIds()
- 3.6.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getAllLocalDocumentIds()
- 3.7.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getAllLocalDocumentIds()
- 3.8.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getAllLocalDocumentIds()
Loads all Lingotek document IDs stored in the system.
Return value
string[] Indexed array of all the document ids.
1 call to LingotekContentMetadata::getAllLocalDocumentIds()
- LingotekContentTranslationService::getAllLocalDocumentIds in src/
LingotekContentTranslationService.php - Gets all local document ids.
File
- src/
Entity/ LingotekContentMetadata.php, line 142
Class
- LingotekContentMetadata
- Defines the Lingotek content metadata entity.
Namespace
Drupal\lingotek\EntityCode
public static function getAllLocalDocumentIds() {
return \Drupal::database()
->select('lingotek_metadata', 'lcm')
->fields('lcm', [
'document_id',
])
->execute()
->fetchCol(0);
}