It just popped into my mind.
Right here: https://api.backdropcms.org/api/backdrop/core%21includes%21cache.inc/fun...
static $cache_objects;
if (!isset($cache_objects[$bin])) {
$class = settings_get('cache_class_' . $bin);
if (!isset($class)) {
$class = settings_get('cache_default_class', 'BackdropDatabaseCache');
}
We are using settings_get function to properly direct cache features based on settings.php
But it is really old way and we have better solution - JSON settings!
So how about to keep this data in config('cache.settings') ?
This way cache settings could be easy transferred between different websites.
Also we can ADD admin/settings/cache page and not experienced users will be able to select different (available) methods for different bins.
Related: #716 #1413
Recent comments
Hi @Gnome and welcome to Backdrop When I create custom layout templates I put them in /layouts/custom/my_layout Note: you can split modules and layouts between contrib and custom...
My layout template (layout--blog.tpl.php) doesn't work
This post explains how to do this in Drupal 7. In Backdrop, File Entity is already part of core. You will need to download and install module Views Field View. https://drupal.stackexchange...
I Need to Display an Image in a View that was Uploaded to a Webform
After alot of trials, i have done the obvious and translated the whole block for different languages with each property condition as follows: ->propertyCondition('langcode', 'en...
How to get the current page language?