Change record status: 
Project: 
Introduced in branch: 
8.x
Description: 

When you work with the new config system (see https://drupal.org/node/1500260 for more information), you should access the following helper methods without using the procedural helpers which have been removed.

Before:

$entity_type_id = config_get_entity_type_by_name('views.view.frontpage');
config_uninstall_default_config('module', 'views');
$list = config_get_storage_names_with_prefix('views.view.');
$typed_config = typed_config();
config_import_create_snapshot($sourceStorage, $snapshotStorage);
$diff = config_diff();

After:

Note also that in a class you should inject the 'config.manager' service instead of using \Drupal::service('config.manager').

$entity_type_id =  \Drupal::service('config.manager')->getEntityTypeIdByName('views.view.frontpage');
\Drupal::service('config.manager')->uninstall('module', 'views');
$list = \Drupal::configFactory()->listAll('views.view.');
$config_typed = \Drupal::service('config.typed');
\Drupal::service('config.manager')->createSnapshot($sourceStorage, $snapshotStorage);
$diff = \Drupal::service('config.manager')->diff($targetStorage, $sourceStorage, 'views.view.frontpage');

https://drupal.org/node/2065313 is an earlier related change notice.

Impacts: 
Module developers