You are here

expire.interface.inc in Cache Expiration 7.2

Interface that should implements class to be added in Expiration group.

File

includes/expire.interface.inc
View source
<?php

/**
 * @file
 * Interface that should implements class to be added in Expiration group.
 */
interface ExpireInterface {

  /**
   * Expires urls for the object.
   *
   * @param $object
   *   Some object (user, node, comment, etc).
   *
   * @param $action
   *   Action that was executed for the object.
   *
   * @param $skip_action_check
   *   Shows whether should we check executed action or just expire node.
   */
  function expire($object, $action, $skip_action_check = FALSE);

}

Interfaces

Namesort descending Description
ExpireInterface @file Interface that should implements class to be added in Expiration group.