You are here

function varbase_assemble_extra_component_then_install in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.5

Same name and namespace in other branches
  1. 8.8 varbase.profile \varbase_assemble_extra_component_then_install()
  2. 8.4 varbase.profile \varbase_assemble_extra_component_then_install()
  3. 8.6 varbase.profile \varbase_assemble_extra_component_then_install()
  4. 8.7 varbase.profile \varbase_assemble_extra_component_then_install()
  5. 9.0.x varbase.profile \varbase_assemble_extra_component_then_install()

Batch function to assemble and install needed extra components.

Parameters

string|array $extra_component: Name of the extra component.

3 string references to 'varbase_assemble_extra_component_then_install'
varbase_assemble_development_tools in ./varbase.profile
Batch job to assemble Varbase extra components.
varbase_assemble_extra_components in ./varbase.profile
Batch job to assemble Varbase extra components.
varbase_configure_multilingual in ./varbase.profile
Batch job to configure multilingual components.

File

./varbase.profile, line 357
Enables modules and site configuration for a Varbase site installation.

Code

function varbase_assemble_extra_component_then_install($extra_component) {
  \Drupal::service('module_installer')
    ->install((array) $extra_component, TRUE);
}