protected function ConfigSyncInitializer::drupalGetFilename in Configuration Synchronizer 8
Wraps the function drupal_get_filename().
Parameters
$type: The type of the item; one of 'core', 'profile', 'module', 'theme', or 'theme_engine'.
$name: The name of the item for which the filename is requested. Ignored for $type 'core'.
$filename: (Optional) The filename of the item if it is to be set explicitly rather than by consulting the database.
Return value
The filename of the requested item or NULL if the item is not found.
1 call to ConfigSyncInitializer::drupalGetFilename()
- ConfigSyncInitializer::initialize in src/
ConfigSyncInitializer.php - Initializes the merge storage with available configuration updates.
File
- src/
ConfigSyncInitializer.php, line 190
Class
- ConfigSyncInitializer
- Returns responses for config module routes.
Namespace
Drupal\config_syncCode
protected function drupalGetFilename($type, $name, $filename = NULL) {
return drupal_get_filename($type, $name, $filename);
}