You are here

protected function EntityTranslationBeanHandler::getEntityId in Bean (for Drupal 7) 7

Returns the entity identifier.

Overrides EntityTranslationDefaultHandler::getEntityId

File

includes/translation.handler.bean.inc, line 63
Bean translation handler for the translation module.

Class

EntityTranslationBeanHandler
Bean translation handler.

Code

protected function getEntityId() {
  if (isset($this->entity->delta)) {
    return $this->entity->delta;
  }
  return parent::getEntityId();
}