public function LingotekEntity::getId in Lingotek Translation 7.7
Same name and namespace in other branches
- 7.5 lib/Drupal/lingotek/LingotekEntity.php \LingotekEntity::getId()
- 7.6 lib/Drupal/lingotek/LingotekEntity.php \LingotekEntity::getId()
Return the node ID
Return value
int The ID associated with this object
Overrides LingotekTranslatableEntity::getId
1 call to LingotekEntity::getId()
- LingotekEntity::__construct in lib/
Drupal/ lingotek/ LingotekEntity.php - Constructor.
File
- lib/
Drupal/ lingotek/ LingotekEntity.php, line 350 - 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;
}