You are here

public function CivicrmDataSourceHandler::getDrupalEntityTypeFromMapping in CRM Core 7

Returns Drupal entity type based on mapping.

File

modules/crm_core_data_import/plugins/source/CivicrmDataSourceHandler.inc, line 437

Class

CivicrmDataSourceHandler

Code

public function getDrupalEntityTypeFromMapping($mapping, $civicrm_entity_type, $civicrm_entity_bundle) {
  $entity_data = $this
    ->getDrupalEntityInfoFromMapping($mapping, $civicrm_entity_type, $civicrm_entity_bundle);
  return $entity_data['type'];
}