function drush_config_get_storage_filters

8.0.x config.drush.inc drush_config_get_storage_filters()
master config.drush.inc drush_config_get_storage_filters()

Presently, the only configuration storage filter that is supported is the 'CoreExtensionFilter'. If other use cases arise that are not supported by Drupal's configuration override system, then we could add a hook here via drush_command_invoke_all('drush_storage_filters');

See: https://github.com/drush-ops/drush/pull/1522

2 calls to drush_config_get_storage_filters()
drush_config_import in commands/core/config.drush.inc
Command callback. Import from specified config directory (defaults to sync).
_drush_config_export in commands/core/config.drush.inc

File

commands/core/config.drush.inc, line 556
Provides Configuration Management commands.

Code

function drush_config_get_storage_filters() {
  $result = array();
  $module_adjustments = drush_get_option('skip-modules');
  if (!empty($module_adjustments)) {
    if (is_string($module_adjustments)) {
      $module_adjustments = explode(',', $module_adjustments);
    }
    $result[] = new CoreExtensionFilter($module_adjustments);
  }
  return $result;
}