You are here

public function LingotekEntity::getEntityType in Lingotek Translation 7.5

Same name and namespace in other branches
  1. 7.7 lib/Drupal/lingotek/LingotekEntity.php \LingotekEntity::getEntityType()
  2. 7.6 lib/Drupal/lingotek/LingotekEntity.php \LingotekEntity::getEntityType()

Return the Drupal Entity type

Return value

string The entity type associated with this object

Overrides LingotekTranslatableEntity::getEntityType

4 calls to LingotekEntity::getEntityType()
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 305
Defines LingotekEntity.

Class

LingotekEntity
A class wrapper for Lingotek-specific behavior on nodes.

Code

public function getEntityType() {
  return $this->entity_type;
}