You are here

skinr_context_test.module in Skinr 7.2

Same filename and directory in other branches
  1. 8.2 skinr_context/tests/skinr_context_test/skinr_context_test.module

Skinr Context testing module.

File

skinr_context/tests/skinr_context_test/skinr_context_test.module
View source
<?php

/**
 * @file
 * Skinr Context testing module.
 */

//
// Presave hooks
//

/**
 * Implements hook_skinr_context_group_presave().
 */
function skinr_context_test_skinr_context_group_presave() {
  $_SESSION['skinr_test'][] = __FUNCTION__ . ' called';
}

//
// Insert hooks
//

/**
 * Implements hook_skinr_context_group_insert().
 */
function skinr_context_test_skinr_context_group_insert() {
  $_SESSION['skinr_test'][] = __FUNCTION__ . ' called';
}

//
// Load hooks
//

/**
 * Implements hook_skinr_context_group_load().
 */
function skinr_context_test_skinr_context_group_load() {
  $_SESSION['skinr_test'][] = __FUNCTION__ . ' called';
}

//
// Update hooks
//

/**
 * Implements hook_skinr_context_group_update().
 */
function skinr_context_test_skinr_context_group_update() {
  $_SESSION['skinr_test'][] = __FUNCTION__ . ' called';
}

//
// Delete hooks
//

/**
 * Implements hook_skinr_context_group_delete().
 */
function skinr_context_test_skinr_context_group_delete() {
  $_SESSION['skinr_test'][] = __FUNCTION__ . ' called';
}

Functions

Namesort descending Description
skinr_context_test_skinr_context_group_delete Implements hook_skinr_context_group_delete().
skinr_context_test_skinr_context_group_insert Implements hook_skinr_context_group_insert().
skinr_context_test_skinr_context_group_load Implements hook_skinr_context_group_load().
skinr_context_test_skinr_context_group_presave Implements hook_skinr_context_group_presave().
skinr_context_test_skinr_context_group_update Implements hook_skinr_context_group_update().