Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
executePreinstallClass example
public
function
setup
(
$profile
= 'testing',
$setup_class
= NULL,
$langcode
= 'en'
)
{
$this
->profile =
$profile
;
$this
->langcode =
$langcode
;
$this
->
setupBaseUrl
(
)
;
$this
->
prepareEnvironment
(
)
;
$this
->
executePreinstallClass
(
$setup_class
)
;
$this
->
installDrupal
(
)
;
$this
->
executeSetupClass
(
$setup_class
)
;
}
/** * Installs Drupal into the test site. */
protected
function
installDrupal
(
)
{
$this
->
initUserSession
(
)
;
$this
->
prepareSettings
(
)
;
$this
->
doInstall
(
)
;