'drupal:path', 'value' => $path, 'theme' => $theme, 'enabled' => 1, ); if ($id > 0) { $item['id'] = $id; } themekey_rule_set($item); } /** * Deletes a ThemeKey rule. * * @see themekey_rule_del() * * @param $id * the id of an existing rule */ function themekey_ui_del_path_theme($id) { return themekey_rule_del($id); }