IntelliJ IDEA 2017.1 Help

Drupal

File | Settings | Languages and Frameworks| PHP | Drupal for Windows and Linux
for macOS
Ctrl+Alt+S

/help/img/idea/2017.1/settings.png

Use this page to enable and configure integration with Drupal in a project.

ItemDescription
Enable Drupal integration Select this check box to have the Drupal functionality applied to your sources.
Drupal installation pathIn this text box, specify the root folder of the Drupal installation. Type the path manually or click the Browse button /help/img/idea/2017.1/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

Procedures:

Last modified: 18 July 2017