1.20.x bootstrap.inc | backdrop_load_backends($backend_type) |
Find and load all files for the requested backend type.
The $backend_type must be one of:
- config
- cache
- database
Parameters
string $backend_type The backend type:
File
- includes/
bootstrap.inc, line 1581 - Functions that need to be loaded on every Backdrop request.
Code
function backdrop_load_backends($backend_type) {
$classes = silkscreen_find_backends($backend_type);
foreach ($classes as $class => $path) {
include_once $path;
}
}