Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit cf2e851

Browse files
committed
Cleaning up example factory hooks. (#28)
1 parent 0a7a3f3 commit cf2e851

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
2-
// Include required files
2+
3+
/**
4+
* @file
5+
* Example implementation of ACSF post-settings-php hook.
6+
*
7+
* @see https://docs.acquia.com/site-factory/tiers/paas/workflow/hooks
8+
*/
9+
10+
// Include required files.
311
require_once DRUPAL_ROOT . '/sites/default/settings/envprotect.settings.php';
12+
413
// Call functionality from settings/features/envprotect.settings.php.
514
protect_environment();

template/factory-hooks/pre-settings-php/includes.php.example

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
<?php
2-
// Includes base settings
2+
3+
/**
4+
* @file
5+
* Example implementation of ACSF pre-settings-php hook.
6+
*
7+
* @see https://docs.acquia.com/site-factory/tiers/paas/workflow/hooks
8+
*/
9+
10+
// Includes base settings.
311
require DRUPAL_ROOT . '/sites/default/settings/base.settings.php';
412

513
// Includes caching configuration.

0 commit comments

Comments
 (0)