You are here

public function LingotekEntity::getEntityType in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.5 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

6 calls to LingotekEntity::getEntityType()
LingotekEntity::deleteMetadataValue in lib/Drupal/lingotek/LingotekEntity.php
Deletes a Lingotek metadata value for this item
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::setMetadataValue in lib/Drupal/lingotek/LingotekEntity.php
Sets a Lingotek metadata value for this item.

... See full list

File

lib/Drupal/lingotek/LingotekEntity.php, line 336
Defines LingotekEntity.

Class

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

Code

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