You are here

function _google_appliance_get_googleonoff in Google Search Appliance 7

Get googleon/googleoff tags.

1 call to _google_appliance_get_googleonoff()
google_appliance_block_view_alter in ./google_appliance.module
Implements hook_block_view_alter().

File

./google_appliance.helpers.inc, line 178
helper functions for the Search Google Appliance module

Code

function _google_appliance_get_googleonoff() {
  return array(
    'index' => array(
      'prefix' => '<!--googleoff: index-->',
      'suffix' => '<!--googleon: index-->',
    ),
    'anchor' => array(
      'prefix' => '<!--googleoff: anchor-->',
      'suffix' => '<!--googleon: anchor-->',
    ),
    'snippet' => array(
      'prefix' => '<!--googleoff: snippet-->',
      'suffix' => '<!--googleon: snippet-->',
    ),
    'all' => array(
      'prefix' => '<!--googleoff: all-->',
      'suffix' => '<!--googleon: all-->',
    ),
  );
}