You are here

public function EntityShareEntityAbstract::getEntityType in Entity Share 7

Get the current entity type.

Return value

mixed Type of the Entity.

1 call to EntityShareEntityAbstract::getEntityType()
EntityShareEntityImport::execute in includes/entity_share.entity.import.inc
Generate the import.

File

includes/entity_share.entity.abstract.inc, line 130
Class for handling Entity Export Abstract.

Class

EntityShareEntityAbstract
Entity Share Entity class.

Code

public function getEntityType() {
  return isset($this->entity->entity_type) ? $this->entity->entity_type : FALSE;
}