You are here

function i18n_node_language_options in Internationalization 7

Check options for node language

1 call to i18n_node_language_options()
i18n_node_language_list in i18n_node/i18n_node.module
Get allowed languages for node.

File

i18n_node/i18n_node.module, line 206
Internationalization (i18n) module - Node type handling

Code

function i18n_node_language_options($node, $option) {
  $options = variable_get('i18n_node_options_' . $node->type, array());
  return in_array($option, $options, TRUE);
}