Ridefinire una variabile in Drupal: Override di variabili nel settings.php

Drupal può ridefinire le variabili staticamente, basta che dai un nuovo valore alla variabile nel tuo settings.php

<?php
/**
* Variable overrides:
*
* To override specific entries in the 'variable' table for this site,
* set them here. You usually don't need to use this feature. This is
* useful in a configuration file for a vhost or directory, rather than
* the default settings.php. Any configuration setting from the 'variable'
* table can be given a new value.
*
* Remove the leading hash signs to enable.
*/
 
$conf = array(
   
'default_nodes_main' => 1000,
  );
?>

Grazie ad Ainur.

Argomenti: