IntelliJ IDEA 2016.3 Help

New Project: Drupal Module

File | New | Project

Welcome Screen | Create New Project

The right-hand pane of the Project Category and Options dialog box looks as follows when you choose PHP in the left-hand pane and then choose Drupal Module from the list in the right-hand pane.

Use this dialog box to generate and set up a module stub in compliance with the Drupal requirements.

The feature is supported only in the Ultimate edition when the Drupal Support plugin is installed and enabled. The plugin is not bundled with IntelliJ IDEA, but it can be installed from the JetBrains plugin repository as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins.

Project Name In this text box, specify the name of the project, by default it is the name of the folder specified in the location field.
Project Location In this text box, specify the path to the project folder where the project-related files will be stored.
installation pathIn this text box, specify the root folder of the installation. Type the path manually or click the Browse button /help/img/idea/2016.3/browseButton.png and select the relevant folder in the dialog box that opens.
Set up PHP | Include paths
  • Select this check box to have Drupal include paths automatically configured for the project. The following paths will be added to the Include Paths list on the PHP page of the Settings dialog box:
    1. <drupal installation root>/includes
    2. <drupal installation root>/modules
    3. <drupal installation root>/sites/all/modules

    The include paths are added to the list after you leave the dialog box.

  • Clear the check box to configure the include paths manually.
VersionFrom this drop-down list, choose the version of Drupal to use, the supported versions are 6, 7, and 8 .

See Also



Last modified: 21 March 2017