You are here

seckit.api.php in Security Kit 7

Hooks provided by Security Kit.

File

seckit.api.php
View source
<?php

/**
 * @file
 * Hooks provided by Security Kit.
 */

/**
 * @addtogroup hooks
 * @{
 */

/**
 * Alter the Security Kit settings.
 *
 * @param array $options
 *   Array of runtime options.
 *
 * @see _seckit_get_options().
 */
function hook_seckit_options_alter(&$options) {
  $options['seckit_clickjacking']['x_frame'] = SECKIT_X_FRAME_SAMEORIGIN;
}

/**
 * @} End of "addtogroup hooks".
 */

Functions

Namesort descending Description
hook_seckit_options_alter Alter the Security Kit settings.