You are here

function fac_preprocess_node in Fast Autocomplete 7

Implements hook_preprocess_node().

Hide the 'submitted by' information on nodes when viewed in the Fast Autocomplete view mode.

File

./fac.module, line 209
This file contains the main functions of the Fast Autocomplete module.

Code

function fac_preprocess_node(&$variables) {
  if ($variables['view_mode'] == variable_get('fac_view_mode', 'fac')) {
    $variables['display_submitted'] = FALSE;
  }
}