ifthenelse-8.x-1.x-dev-no-core/if_then_else_profile.install
if_then_else_profile.install
<?php
/**
* @file
* Install, update and uninstall functions for if_then_else.
*/
/**
* Implements hook_install().
*
* Perform actions to set up the site for this profile.
*
* @see system_install()
*/
function if_then_else_profile_install() {
// First, do everything in standard profile.
include_once DRUPAL_ROOT . '/core/profiles/standard/standard.install';
standard_install();
// Enable the default content module. This can't be specified as a dependency.
\Drupal::service('module_installer')->install(['if_then_else'], TRUE);
\Drupal::service('module_installer')->install(['if_then_else_default_rule'], TRUE);
}
