Created
May 24, 2022 05:59
-
-
Save ivangrynenko/2b1bfa84b0e0ea435bcd0c8f9fcd9059 to your computer and use it in GitHub Desktop.
Quant override for non-production environments.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (getenv('LAGOON_ENVIRONMENT_TYPE') !== 'production') { | |
/** | |
* Disable Quant in non-production environments. | |
* Applicable to Drupal 8 or 9. | |
*/ | |
$config['quant.settings']['quant_enabled'] = 0; | |
$config['quant.settings']['quant_enabled_nodes'] = 0; | |
$config['quant.settings']['quant_enabled_taxonomy'] = 0; | |
$config['quant.settings']['quant_enabled_views'] = 0; | |
$config['quant.settings']['quant_enabled_redirects'] = 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment