You are here

static function SearchApiEtHelper::getItemType in Search API Entity Translation 7.2

Returns multilingual item type name for provided entity type.

Parameters

string $entity_type: Entity type name.

Return value

string Multilingual item type name.

4 calls to SearchApiEtHelper::getItemType()
search_api_et_entity_translation_delete in ./search_api_et.module
Implements hook_entity_translation_delete().
search_api_et_entity_translation_insert in ./search_api_et.module
Implements hook_entity_translation_insert().
search_api_et_entity_translation_update in ./search_api_et.module
Implements hook_entity_translation_update().
search_api_et_entity_update in ./search_api_et.module
Implements hook_entity_update().

File

includes/SearchApiEtHelper.php, line 87
Helper class for SearchAPI ET

Class

SearchApiEtHelper
@file Helper class for SearchAPI ET

Code

static function getItemType($entity_type) {
  return 'search_api_et_' . $entity_type;
}