public function LingotekEntity::getId in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekEntity.php \LingotekEntity::getId()
- 7.5 lib/Drupal/lingotek/LingotekEntity.php \LingotekEntity::getId()
Return the node ID
Return value
int The ID associated with this object
Overrides LingotekTranslatableEntity::getId
4 calls to LingotekEntity::getId()
- LingotekEntity::getUrl in lib/
Drupal/ lingotek/ LingotekEntity.php - LingotekEntity::postDownload in lib/
Drupal/ lingotek/ LingotekEntity.php - LingotekEntity::preDownload in lib/
Drupal/ lingotek/ LingotekEntity.php - LingotekEntity::__get in lib/
Drupal/ lingotek/ LingotekEntity.php - Magic get for access to node and node properties.
File
- lib/
Drupal/ lingotek/ LingotekEntity.php, line 329 - Defines LingotekEntity.
Class
- LingotekEntity
- A class wrapper for Lingotek-specific behavior on nodes.
Code
public function getId() {
list($id, $vid, $bundle) = lingotek_entity_extract_ids($this->entity_type, $this->entity);
return $id;
}