You are here

function domain_admin in Domain Access 5

Router function to call various administration tasks

Parameters

$action: The function to be performed.

$id: The domain_id of the record to be acted upon.

1 string reference to 'domain_admin'
domain_menu in ./domain.module
Implement hook_menu()

File

./domain.module, line 410
Core module functions for the Domain Access suite.

Code

function domain_admin($action, $id = NULL) {
  include_once 'domain_admin.inc';
  $func = 'domain_' . $action;
  return $func($id);
}