Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
2a496cb7
Commit
2a496cb7
authored
Oct 21, 2008
by
Adrian Rossouw
Committed by
adrian
Oct 21, 2008
Browse files
Add back the _services hook i removed too soon
parent
e7c71d71
Changes
5
Hide whitespace changes
Inline
Side-by-side
db_server/provision_mysql.module
View file @
2a496cb7
...
...
@@ -15,8 +15,11 @@ include_once('provision.mysql.inc');
* @ingroup provisionui
* @{
*/
function
provision_mysql_provision_service
()
{
return
array
(
"db_server"
=>
t
(
"Mysql database server"
));
}
/**
/**
* Implementation of hook_help().
*/
function
provision_mysql_help
(
$section
)
{
...
...
platform/provision_drupal.module
View file @
2a496cb7
...
...
@@ -8,6 +8,10 @@
* and all the install api code.
*/
function
provision_drupal_provision_service
()
{
return
array
(
'drupal'
=>
t
(
"Drupal sites"
));
}
/**
* Test to see if the site settings.php exists
*
...
...
provision.help.inc
View file @
2a496cb7
...
...
@@ -137,7 +137,7 @@ function provision_help_requirements() {
foreach
(
$modules
as
$module
)
{
$service
=
module_invoke
(
$module
,
'provision_service'
);
$name
=
current
(
$service
);
$help
=
module_invoke
(
$module
,
'help'
,
'admin/help/provision#requirements'
);
$help
=
module_invoke
(
$module
,
'help'
,
'admin/help/provision#requirements'
,
null
);
if
(
$name
&&
$help
)
{
$output
.
=
"<a href='requirements-
$module
'></a><h3>"
.
t
(
$name
)
.
'</h3>'
;
$output
.
=
$help
;
...
...
provision.module
View file @
2a496cb7
...
...
@@ -165,6 +165,10 @@ function _provision_generate_config($data = array()) {
* @{
*/
function
provision_provision_service
()
{
return
array
(
'provision'
=>
t
(
"Basic configuration"
));
}
/**
* Implementation of hook_menu().
*/
...
...
web_server/provision_apache.module
View file @
2a496cb7
...
...
@@ -11,6 +11,10 @@
* to ensure that the sites are getting loaded up correctly.
*/
function
provision_apache_provision_service
()
{
return
array
(
"web_server"
=>
t
(
"Web Server"
));
}
/**
* Implementation of hook_help().
*/
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment