protected function UnitsEntityTranslationHandler::getEntityId in Units of Measurement 7
Same name and namespace in other branches
- 7.2 includes/UnitsEntityTranslationHandler.class.inc \UnitsEntityTranslationHandler::getEntityId()
Returns the entity identifier.
Overrides EntityTranslationDefaultHandler::getEntityId
File
- includes/
UnitsEntityTranslationHandler.class.inc, line 26 - Definition of UnitsEntityTranslationHandler class.
Class
- UnitsEntityTranslationHandler
- Entity translation class for units of measurement.
Code
protected function getEntityId() {
return entity_id($this
->getEntityType(), $this
->getEntity());
}