Frontend hooks in Hosting 7.4
Same name and namespace in other branches
- 6.2 hosting.api.php \hostinghooks
- 7.3 hosting.api.php \hostinghooks
Those hooks are hooks usable within contrib Drupal modules running in the Aegir frontend site.
File
- ./
hosting.api.php, line 7 - Hooks provided by the hosting module, and some other random ones.
Functions
Name | Location | Description |
---|---|---|
hook_allow_domain |
./ |
Determine if a site can be created using the specified domain. |
hook_drush_context_import |
./ |
Import a backend context into the corresponding frontend node. |
hook_hosting_feature |
./ |
Register a hosting feature with Aegir. |
hook_hosting_processed_queues_alter |
./ |
Alter module defined queue definitions after they are processed. |
hook_hosting_queues |
./ |
Define hosting queues. |
hook_hosting_queues_alter |
./ |
Alter module defined queue definitions before they are processed. |
hook_hosting_quota_get_usage |
quota/ |
Definition of hook_hosting_quota_get_usage |
hook_hosting_quota_resource |
quota/ |
Definition of hook_hosting_quota_resource |
hook_hosting_quota_resource_render |
quota/ |
Definition of hook_hosting_quota_resource_render |
hook_hosting_servers_titles_alter |
server/ |
Alter the servers available for selection in the frontend. |
hook_hosting_service |
server/ |
Define a service. |
hook_hosting_service_type |
server/ |
Define a service type. |
hook_hosting_site_options_alter |
site/ |
Alters which site options are available. |
hook_hosting_site_site_list_filters |
site/ |
Defines which filters are allowed to be used on the hosting site list. |
hook_hosting_site_site_list_filters_alter |
site/ |
Alters which filters are allowed to be used on the hosting site list. |
hook_hosting_task_dangerous_tasks |
./ |
Return a list of dangerous tasks. |
hook_hosting_task_dangerous_tasks_alter |
./ |
Alter the list of dangerous tasks. |
hook_hosting_task_guarded_nodes |
./ |
Return a list of Aegir entities to guard against destructive tasks. |
hook_hosting_task_guarded_nodes_alter |
./ |
Alter the list of guarded nodes. |
hook_hosting_TASK_OBJECT_context_options |
./ |
Add or change context options before a hosting task runs. |
hook_hosting_TASK_TYPE_task_rollback |
./ |
Perform actions when a task has failed and has been rolled back. |
hook_hosting_task_update_status |
./ |
Reacts any time a task has it's status updated, including when being run in the queue, ending, or being cancelled. |
hook_nodeapi_TYPE_OP |
./ |
Act on nodes defined by other modules. |
hook_post_hosting_TASK_TYPE_task |
./ |
Perform actions when a task has completed succesfully. |
hosting_QUEUE_TYPE_queue |
./ |
Process the specified queue. |
hosting_TASK_SINGULAR_list |
./ |
|
hosting_TASK_SINGULAR_summary |
./ |