Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3253715
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
drupal-3253715
Commits
661d81b3
Commit
661d81b3
authored
12 years ago
by
Jennifer Hodgdon
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#1333400
by Albert Volkman, Chi: Add parameter docs for hook_install_tasks
parent
6559ca50
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/system/system.api.php
+4
-1
4 additions, 1 deletion
modules/system/system.api.php
with
4 additions
and
1 deletion
modules/system/system.api.php
+
4
−
1
View file @
661d81b3
...
...
@@ -3628,6 +3628,9 @@ function hook_registry_files_alter(&$files, $modules) {
* inspect later. It is important to remove any temporary variables using
* variable_del() before your last task has completed and control is handed
* back to the installer.
*
* @param array $install_state
* An array of information about the current installation state.
*
* @return
* A keyed array of tasks the profile will perform during the final stage of
...
...
@@ -3686,7 +3689,7 @@ function hook_registry_files_alter(&$files, $modules) {
* @see install_state_defaults()
* @see batch_set()
*/
function
hook_install_tasks
()
{
function
hook_install_tasks
(
&
$install_state
)
{
// Here, we define a variable to allow tasks to indicate that a particular,
// processor-intensive batch process needs to be triggered later on in the
// installation.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment