You are here

node_expire.admin.inc in Node expire 7.2

Same filename and directory in other branches
  1. 8 node_expire.admin.inc
  2. 6 node_expire.admin.inc
  3. 7 node_expire.admin.inc

Administration page callbacks for the node_expire module.

File

node_expire.admin.inc
View source
<?php

/**
 * @file
 * Administration page callbacks for the node_expire module.
 */
use Drupal\node_expire\Module\Hook\AdminHookHandler;

/**
 * Administrative settings.
 *
 * @return array
 *   An array containing form items to place on the module settings page.
 */
function node_expire_admin_settings() {
  return AdminHookHandler::hookAdminSettings();
}

/**
 * Validation for the administrative settings form.
 *
 * @param object $form
 *   An associative array containing the structure of the form.
 * @param object $form_state
 *   A keyed array containing the current state of the form.
 */
function node_expire_admin_settings_validate($form, &$form_state) {
  AdminHookHandler::hookAdminSettingsValidate($form, $form_state);
}

Functions

Namesort descending Description
node_expire_admin_settings Administrative settings.
node_expire_admin_settings_validate Validation for the administrative settings form.