You are here

function lingotek_update_node_settings in Lingotek Translation 7.4

Update Lingotek table settings for a node.

Parameters

array $settings: Associative array of lingokey => lingovalue

array $node: Array of node objects like what is returned by node_load_multiple()

File

./lingotek.module, line 1400

Code

function lingotek_update_node_settings($settings, $nids) {
  foreach ($nids as $nid) {
    foreach ($settings as $setting => $value) {
      lingotek_lingonode($nid, $setting, $value);
    }
  }
}