Get folder inside each component that contains the files.
string $type: Component type: 'module' | 'theme' | 'profile'
string $name: Component name.
string The configuration folder name for this component.
protected function getComponentFolder($type, $name) {
return drupal_get_path($type, $name) . '/config';
}