Skip to content

Commit

Permalink
Add deprecation warnings for the drupal.modules_enable property/target.
Browse files Browse the repository at this point in the history
  • Loading branch information
becw committed Sep 6, 2018
1 parent b9518a2 commit 70958ca
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tasks/drupal.xml
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,29 @@
<param>${drupal.profile}</param>
</drush>

<!-- @todo Remove this conditional in release 2.0 -->
<if>
<not><equals arg1="${drupal.modules_enable}" arg2="" /></not>
<then>
<echo level="warning" msg="The 'drupal.modules_enable' property has been deprecated; please update your build to manage per-environment configuration with the Config Split module instead (https://www.drupal.org/project/config_split)" />
</then>
</if>

<!-- The public files directory, and everything in it, needs to be world writable. -->
<exec command="chmod -R 777 ${drupal.settings.file_public_path.resolved}" checkreturn="true" />
</target>


<!--
Target: drupal-enable-module
@todo Remove this target in release 2.0
-->
<target name="drupal-enable-module">
<echo level="warning" msg="The 'drupal-enable-module' target has been deprecated; please update your build to manage per-environment configuration with the Config Split module instead (https://www.drupal.org/project/config_split)" />
</target>


<!--
Target: drupal-dump-db
Expand Down

0 comments on commit 70958ca

Please sign in to comment.