By editor, 4 November, 2016 Set Drupal System variables manually Tags Drupal 8 Drupal 7 Settings To set Drupal System variables you can use the $settings (on Drupal 8) and $conf (On Drupal 7) array of setting.php file.
By editor, 30 October, 2016 Theme Negotiators - Switch theme dynamically Tags Drupal 8 Code Theming Create a custom module (here : example) For active themes by route you first have to define a service in your $module.services.yml file: On example.services.yml Add:
By editor, 30 October, 2016 Install Apache 2 with SSL On Debian based Linux Tags Server Linux Install Apache following this tutorial Activate SSL Module sudo a2enmod ssl sudo service apache2 force-reload #Or sudo /etc/init.d/apache2 force-reload
By editor, 25 October, 2016 Drupal 8 Cache API Tags Drupal 8 Code Cache Get the default cache bin $cache = \Drupal::cache(); To get a particular cache bin (here 'render'): $render_cache = \Drupal::cache('render');