public static function EntityTranslationDefaultHandler::isEntityTypeRevisionable in Entity Translation 7
Returns whether the entity type is revisionable.
3 calls to EntityTranslationDefaultHandler::isEntityTypeRevisionable()
- EntityTranslationDefaultHandler::isRevisionable in includes/
translation.handler.inc - EntityTranslationDefaultHandler::loadMultiple in includes/
translation.handler.inc - Read the translation data from the storage.
- entity_translation_translatable_batch in ./
entity_translation.admin.inc - Batch operation. Convert field data to or from LANGUAGE_NONE.
File
- includes/
translation.handler.inc, line 995 - Default translation handler for the translation module.
Class
- EntityTranslationDefaultHandler
- Class implementing the default entity translation behaviours.
Code
public static function isEntityTypeRevisionable($entity_type) {
$entity_info = entity_get_info($entity_type);
return variable_get('entity_translation_revision_enabled', FALSE) && !empty($entity_info['entity keys']['revision']);
}