Skip to content

Commit

Permalink
Added installation profile for open hotel distribution.
Browse files Browse the repository at this point in the history
  • Loading branch information
gchauhan8726 committed Jun 18, 2018
1 parent ee45dac commit 426a4c7
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 0 deletions.
57 changes: 57 additions & 0 deletions web/profiles/openhotel/openhotel.info.yml
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
20 changes: 20 additions & 0 deletions web/profiles/openhotel/openhotel.install
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.
7 changes: 7 additions & 0 deletions web/profiles/openhotel/openhotel.profile
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.

0 comments on commit 426a4c7

Please sign in to comment.