You are here

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

1 call to EntityTranslationBeanHandler::getEntityBid()
EntityTranslationBeanHandler::removeTranslation in includes/translation.handler.bean.inc
Removes a translation from the translation set.

File

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

Class

EntityTranslationBeanHandler
Bean translation handler.

Code

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