function varbase_assemble_extra_component_then_install in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 9.0.x
Same name and namespace in other branches
- 8.8 varbase.profile \varbase_assemble_extra_component_then_install()
- 8.4 varbase.profile \varbase_assemble_extra_component_then_install()
- 8.5 varbase.profile \varbase_assemble_extra_component_then_install()
- 8.6 varbase.profile \varbase_assemble_extra_component_then_install()
- 8.7 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 382 - 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);
}