You are here

protected function ConfigSyncLister::drupalGetFilename in Configuration Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/ConfigSyncLister.php \Drupal\config_sync\ConfigSyncLister::drupalGetFilename()

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 ConfigSyncLister::drupalGetFilename()
ConfigSyncLister::getExtensionChangelist in src/ConfigSyncLister.php
Returns a change list for a given module or theme.

File

src/ConfigSyncLister.php, line 197

Class

ConfigSyncLister
Provides methods related to listing configuration changes.

Namespace

Drupal\config_sync

Code

protected function drupalGetFilename($type, $name, $filename = NULL) {
  return drupal_get_filename($type, $name, $filename);
}