Questions tagged [installation-profiles]

Installation profiles combine core Drupal, contributed modules, themes, and pre-defined configuration into one download.

Filter by
Sorted by
Tagged with
9 votes
2 answers
4k views

How to switch 'standard' installation profile to 'minimal' in existing site? [closed]

I have built a druapl 8 site with 'Standard' installation profile. How can I switch 'standard' installation profile to 'minimal' in existing site?
Sugandh Khanna's user avatar
8 votes
2 answers
2k views

How to set a default theme programmatically

I am trying to build an install profile and I want to have my custom theme enabled and set by default after the installation. Adding in MYPROFILE.info.yml... theme: - my_theme ...is not enough. ...
Guillaume Bois's user avatar
8 votes
2 answers
1k views

Features versus Configuration Management

I am building a Drupal 8 site and I have done some research whenever I should use Configuration Management or Features to export configuration and include it in my profile. In order to export and ...
Tyler Durden's user avatar
  • 2,316
7 votes
2 answers
4k views

How to enable modules through configuration?

I am trying to enable modules by adding them to core.extension.yml file without getting involved with Features, Configuration Installer or similar modules or profiles. The modules are enabled but ...
duru's user avatar
  • 599
6 votes
4 answers
2k views

How do I disable a core installation profile?

There is the Allow install profiles to be uninstalled issue that doesn't allow installation profiles to be uninstalled. Is there any way to do this in D7? (With a little more effort if necessary.) ...
donquixote's user avatar
  • 3,622
6 votes
3 answers
6k views

How to install an existing Drupal profile with drush?

Seems like searching for the answer on Google just leads me to how to create make files and profiles. I know how to do that. I also know how to install Drupal with drush. But I want to install one ...
Quentin Campbell's user avatar
6 votes
2 answers
533 views

Configuration management with different database and websites

We have a central code base (Git repo). From this code base we deployed several websites already. Till now we used features. The websites which are already in production they have a filled database ...
meez's user avatar
  • 1,333
4 votes
2 answers
576 views

In custom install profile How to delete the "Footer" menu that core provides by default?

I am writing custom Drupal 8 install profile to be used in our organization. The core creates the "Footer" menu as default system menu listed in menu admin page. I want to delete or disable this ...
israelshmueli's user avatar
4 votes
2 answers
3k views

Building a Web App using Drupal

I'm looking at building a Web Application on the Drupal framework. Does anyone know of an existing drupal profile installation that has this viewpoint? For example, I've been building features for ...
lordg's user avatar
  • 705
4 votes
1 answer
4k views

This import is empty and if applied would delete all of your configurations

Customer bought a theme that has a Commerce plugin installed with sample data. Anxious to get it running and try out the new configuration system, I did what I do prior to Drupal 8.6: I committed ...
sam452's user avatar
  • 451
4 votes
0 answers
63 views

How should the code structure of a distribution look like? [closed]

I'm making a distribution and so far it consists of only one module which holds the whole code. Since D8 is now fully OOP and has autoloader and other stuff I was wondering how should the structure ...
user avatar
3 votes
3 answers
717 views

Is there a way to inherit a Drupal installation profile?

I want to create a Drupal installation profile based on an existing one. Is there a way to inherit the parent profile so I don't need to duplicate modules, dependencies, libraries definitions ?
luciano_s's user avatar
  • 233
3 votes
2 answers
490 views

Moved an old installation profile now site is broken

I have a d9 site with an old installation profile originally written for d8. I was having some issues with the profile preventing the uninstallation of some modules so I tried moving the entire folder ...
tanbog's user avatar
  • 1,243
3 votes
1 answer
1k views

Why does installing from an existing configuration fail?

I am struggling to install a drupal site from an existing configuration. Here the two approaches I tried: OPTION 1: Import the config by changing the UID: drush cex on existing site drush site:...
Extect's user avatar
  • 109
3 votes
2 answers
74 views

Where does the profile name on the Status Report come from?

When I click on Reports > Status report, the Install profile field says Snrub (snrub-"1.1) (with exactly one double quote). Where is this value defined?
MrSnrub's user avatar
  • 291
3 votes
1 answer
623 views

Where is the "Add fields" button on content types when using the Minimal installation profile?

I just installed Drupal 8.1.x and used the Minimal installation profile. I added a new content type, but how do I add additional fields? I don't see a button anywhere.
Patoshi パトシ's user avatar
3 votes
1 answer
1k views

What are the major differences in building an install profile for Drupal 8? [closed]

There is a good guide for drupal 7 which explains how to build a install profile for drupal 7. I built an install profile using it. But I want to build an install profile using Drupal 8. What changes ...
claws's user avatar
  • 725
3 votes
2 answers
347 views

Automate the creation of settings.php and files directory

I am using Drush make files and Drupal Installation profiles to streamline the creation of new Drupal websites (which are created in the sites directory of my Mac). Everything is working fine. The ...
big_smile's user avatar
  • 2,828
3 votes
2 answers
335 views

Write drupal config in a profile installation

Here's my problem: I use profiler builder to generate a profile from an installation. But the fact is : the profile only list my modules. What I want my profile to do is also to keep my Drupal ...
Alarid's user avatar
  • 167
3 votes
1 answer
1k views

Import content using the "Default Content for D8" module

I am using Default Content for D8 to import content on my site. After Profile installation completed, I enabled my custom default content module with contents sample json for node entity [my_module/...
latikas's user avatar
  • 460
3 votes
2 answers
2k views

D8 Install/uninstall custom module - 'field_storage_config' entity with ID already exists

I created a custom module which essentially is a replica of the Article CT .yml files which come with the D8 standard install-profile. When I installed the custom module, it successfully created ...
DMAC's user avatar
  • 1,053
3 votes
2 answers
470 views

Set site name in installation profile

I'm writing a custom installation profile, and most things work, except that I can't get it to change the site name. function myprofile_install() { include_once DRUPAL_ROOT . '/profiles/standard/...
LindaJeanne's user avatar
3 votes
1 answer
466 views

Adding translation files to install profile?

I am building a Drupal installation profile to make deployment of my site easier, ideally I would like to include the translation files to the install profile as well. But apart from adding the core ...
Alexander Granholm's user avatar
2 votes
4 answers
2k views

How to know current active installation profile like standard/minimal etc. on existing drupal site?

I have installed minimal installation profile. Is there any entry in database where profile name is mentioned, current active profile. I wanna get the profile name which is get installed in existing ...
Sugandh Khanna's user avatar
2 votes
3 answers
579 views

How to install Drupal without interaction via web UI?

Is it possible to confgirue installation profile so it can be installed via web UI as usual but without any interaction, just the progress bar?
user avatar
2 votes
1 answer
204 views

Reusing drupal forms in a profile installation?

I've setup a custom installation profile, and of my installation steps is setting up Google Analytics. I've downloaded the Google Analytics module and enabled it in my site profile. What I'm doing ...
Lester Peabody's user avatar
2 votes
1 answer
64 views

Can't preselect time zone in hook_form_alter

I'm writing a custom installation profile/distribution and I want to pre-populate some fields in the 'Configure Site' form (/core/install.php). I have managed to prefill/preselect other fields like (...
consuela's user avatar
  • 239
2 votes
1 answer
162 views

Is it possible to do a Drush make custom installation profile?

Is is possible to make a selective Drush Make file? For example: The site has 3 modules, with 3 library files. A normal drush make will give me all modules and files. But it is possible to ...
Bruno  Vincent's user avatar
2 votes
5 answers
3k views

Hooks called after installation profile is installed?

I'm stuck writing an installation profile. There are certain things that I want to do only after the installation is completed. I analyzed top ten installation profiles and checked the documentation, ...
Aram Boyajyan's user avatar
2 votes
2 answers
147 views

How to enable insert module in installation profile?

I want to use the insert module for a file field but I can't get it to be enabled programmaticly. Is there a setting like 'insert' => true, or something like that? Is there any documentation about the ...
mparryy's user avatar
  • 209
2 votes
1 answer
191 views

Umami content not created

I'm creating a new Drupal 8 site using Lando/Pantheon - and then installing the Umami profile. I've done this before with no problems. This morning when I try, the site is created and it looks like ...
gmercer's user avatar
  • 843
2 votes
1 answer
59 views

How to add dev modules to a distribution without getting security updates warnings?

I have made a distribution, which contains some modules which are in dev state. These modules are being by drush make checked out by git. So my drupal-org.make file contains something like: projects[...
drupov's user avatar
  • 78
2 votes
1 answer
143 views

append settings.php during profile installation

I would like to add lines to my settings.php during my custom installation. I'm using some $conf['...'] to match external content to my drupal and i would like not to do this by modifying directly the ...
azeazeaze's user avatar
2 votes
2 answers
347 views

Installation profile - Can I create nodes via yml files? What's the best practice for it?

I've created an installation profile for Drupal 8, which creates content types, taxonomies, blocks and stuff I need for new projects via yml files. Now I also want to create some default nodes. I ...
Markus's user avatar
  • 43
2 votes
2 answers
2k views

How to create programmatically menu links with just created nodes during installation profile in aegir ?can't get nid!

I am creating a set of nodes in an installation profile. When I try to create menu links for them in the same PROFILE_NAME.install, the links don't get created. I have also tried creating the menus ...
Ossama's user avatar
  • 29
2 votes
1 answer
40 views

How to prevent installation to run from UI?

I have an installation profile that will be installed purely via Drush/CLI. So I need to prevent anyone to run the installation from web interface. What would be the best approach?
user avatar
2 votes
1 answer
98 views

Creating menu items for views during installation of a custom install profile fails

I have created a custom installation profile in which I enable some default features and modules. In the profile I added an extra task at the end in witch I enable a custom deployment module. That ...
Hatznie's user avatar
  • 174
2 votes
2 answers
156 views

Profiler builder with custom modules

First things first: happy 2015 to everybody. :-) Now, I am quite new with Drupal distributions and profiles and here is my situation: I have a running site where I have contributed modules and custom ...
José L.'s user avatar
  • 245
2 votes
0 answers
2k views

Error, unmet dependencies at installation

i have an error at drupal installation with my custom profil - version 2. i have successfully created a custom profile - version 1 - and installation is ok, thus i know how to do it and it works. ...
octogone.dev's user avatar
2 votes
0 answers
839 views

How to fix the core.extension.module list when the currently active profile has been added to it by the system?

Following the 8.6 upgrade, several of our sites have developed a strange problem. The currently active profile, let's call it foo_profile, is now also listed as a module in config (core.extension....
Clive's user avatar
  • 166k
2 votes
2 answers
3k views

How can I install an installation profile?

I have an installation profile with custom modules and themes. How should I use Composer so that Drupal and the installation profile's dependencies are downloaded and copied in the right directories?
2 votes
0 answers
126 views

How to include translations in custom install profile

I'm creating a custom install profile and want to be able to use drush make to quickly set up all files. What is the best way to have drush make download the drupal core translation files into my ...
witti's user avatar
  • 171
2 votes
1 answer
122 views

Installing a profile inherited from an existing distribution

I would like to build a distribution based on the Standard profile coming with Drupal 7, by inheriting all the features of the parent distro and changing some of them with custom code. The title of ...
adop's user avatar
  • 41
2 votes
1 answer
159 views

Changing from a Profile to Standard profile after the installation

Its possible from moving from a custom profile or a Distro and move to a the Standards profile ? The reason, I'm asking this is because I build a website with the Recruiter distro. At first everybody ...
itsdarrylnorris's user avatar
2 votes
1 answer
78 views

Install profile that automatically inserts data / config settings

I am trying to create a custom installation profile for small internal usage and I'd like to hide certain steps and also implement new functions as a quick-and-dirty way to pre-populate some default ...
Laryn's user avatar
  • 1,850
2 votes
1 answer
351 views

Creating a block with installation profile

To create a block I am currently using this code: $default_theme = variable_get('theme_default', getDefaultTheme()); $blocks = array( array( 'module' => 'user', 'delta' => 'login', ...
mparryy's user avatar
  • 209
1 vote
2 answers
605 views

Use default installation profile?

I've written a custom installation profile. When running install.php for the first time to install it, I have to select the installation profile I want to use. I then select mine and run the install ...
Lester Peabody's user avatar
1 vote
2 answers
88 views

Can't load form from my Install Profile

I have a WelcomeForm inside my src folder in my install profile. My install profile is located inside web/profiles folder and is correctly selected by default during install. However, I added an ...
ilechcod's user avatar
  • 113
1 vote
1 answer
483 views

Installation profile glitch

When I construct unattended installation using for instance: drush site-install my_inst_profile \ --account-mail='[email protected]' \ --account-name='siteadm' \ --account-pass='sitepass' \ --...
utom's user avatar
  • 111
1 vote
4 answers
473 views

How to define settings from an install profile

I am looking for the way to set some settings at the install step. function genius_profile_final() { // Enable default permissions for system roles. $filtered_html_permission = ...
manou's user avatar
  • 91