You are here

function entity_translation_workflow_enabled in Entity Translation 7

Returns TRUE if the translation workflow is enabled.

4 calls to entity_translation_workflow_enabled()
EntityTranslationDefaultHandler::getSharedFieldsAccess in includes/translation.handler.inc
EntityTranslationDefaultHandler::getTranslationAccess in includes/translation.handler.inc
entity_translation_admin_form in ./entity_translation.admin.inc
Builder function for the entity translation settings form.
entity_translation_permission in ./entity_translation.module
Implements hook_permission().
1 string reference to 'entity_translation_workflow_enabled'
_entity_translation_grant_edit_permissions in ./entity_translation.install
Grant 'edit $type original values' permission to existing roles.

File

./entity_translation.module, line 848

Code

function entity_translation_workflow_enabled() {
  return variable_get('entity_translation_workflow_enabled', FALSE);
}