You are here

function entity_translation_node in Entity Translation 7

Checks if the given entity has node translation enabled.

1 call to entity_translation_node()
entity_translation_node_tab_access in ./entity_translation.node.inc
Node specific access callback.

File

./entity_translation.node.inc, line 31
The node specific translation functions and hook implementations.

Code

function entity_translation_node($entity_type, $node) {
  return $entity_type == 'node' && function_exists('translation_supported_type') && translation_supported_type($node->type);
}