public function ContentHubEntitiesTracking::getEntityType in Acquia Content Hub 8
Returns the Entity Type.
Return value
string The Entity Type.
2 calls to ContentHubEntitiesTracking::getEntityType()
- ContentHubEntitiesTracking::delete in src/
ContentHubEntitiesTracking.php - Deletes the entry for this particular entity.
- ContentHubEntitiesTracking::save in src/
ContentHubEntitiesTracking.php - Saves a record of an imported entity.
File
- src/
ContentHubEntitiesTracking.php, line 224
Class
- ContentHubEntitiesTracking
- Tracks in a table the list of all entities imported from Content Hub.
Namespace
Drupal\acquia_contenthubCode
public function getEntityType() {
return isset($this
->getTrackingEntity()->entity_type) ? $this
->getTrackingEntity()->entity_type : NULL;
}