-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added installation profile for open hotel distribution.
- Loading branch information
1 parent
ee45dac
commit 426a4c7
Showing
4 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Open Hotel | ||
type: profile | ||
description: 'Open hotel is a Drupal Distribution for hotel sites.' | ||
core: 8.x | ||
dependencies: | ||
- node | ||
- history | ||
- block | ||
- breakpoint | ||
- ckeditor | ||
- color | ||
- config | ||
- comment | ||
- contextual | ||
- contact | ||
- menu_link_content | ||
- datetime | ||
- block_content | ||
- quickedit | ||
- editor | ||
- help | ||
- image | ||
- menu_ui | ||
- options | ||
- path | ||
- page_cache | ||
- dynamic_page_cache | ||
- telephone | ||
- taxonomy | ||
- dblog | ||
- search | ||
- shortcut | ||
- toolbar | ||
- field_ui | ||
- file | ||
- rdf | ||
- views | ||
- views_ui | ||
- tour | ||
- automated_cron | ||
- ctools | ||
- admin_toolbar | ||
- config_update | ||
- features | ||
- features_ui | ||
- token | ||
- pathauto | ||
- typed_data | ||
- rules | ||
- metatag | ||
- google_analytics | ||
- views_slideshow | ||
- webform | ||
- module_filter | ||
themes: | ||
- bartik | ||
- seven |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
/** | ||
* @file | ||
* Install, update and uninstall functions for the profilename install profile. | ||
*/ | ||
|
||
/** | ||
* Implements hook_install(). | ||
* | ||
* Perform actions to set up the site for this profile. | ||
* | ||
* @see system_install() | ||
*/ | ||
function openhotel_install() { | ||
// First, do everything in standard profile. | ||
include_once DRUPAL_ROOT . '/core/profiles/standard/standard.install'; | ||
standard_install(); | ||
|
||
// Can add code in here to make nodes, terms, etc. | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
/** | ||
* @file | ||
* Enables modules and site configuration for a standard site installation. | ||
*/ | ||
|
||
// Add any custom code here like hook implementations. |