function Config::__construct

Same name in this branch
  1. 11.x composer/Plugin/VendorHardening/Config.php \Drupal\Composer\Plugin\VendorHardening\Config::__construct()
  2. 11.x core/modules/migrate/src/Plugin/migrate/destination/Config.php \Drupal\migrate\Plugin\migrate\destination\Config::__construct()
  3. 11.x core/lib/Drupal/Core/Config/Config.php \Drupal\Core\Config\Config::__construct()
Same name in other branches
  1. 9 composer/Plugin/VendorHardening/Config.php \Drupal\Composer\Plugin\VendorHardening\Config::__construct()
  2. 9 core/modules/migrate/src/Plugin/migrate/destination/Config.php \Drupal\migrate\Plugin\migrate\destination\Config::__construct()
  3. 9 core/lib/Drupal/Core/Config/Config.php \Drupal\Core\Config\Config::__construct()
  4. 8.9.x composer/Plugin/VendorHardening/Config.php \Drupal\Composer\Plugin\VendorHardening\Config::__construct()
  5. 8.9.x core/modules/migrate/src/Plugin/migrate/destination/Config.php \Drupal\migrate\Plugin\migrate\destination\Config::__construct()
  6. 8.9.x core/lib/Drupal/Core/Config/Config.php \Drupal\Core\Config\Config::__construct()
  7. 10 composer/Plugin/VendorHardening/Config.php \Drupal\Composer\Plugin\VendorHardening\Config::__construct()
  8. 10 core/modules/migrate/src/Plugin/migrate/destination/Config.php \Drupal\migrate\Plugin\migrate\destination\Config::__construct()
  9. 10 core/lib/Drupal/Core/Config/Config.php \Drupal\Core\Config\Config::__construct()

Overrides DrupalSqlBase::__construct

File

core/modules/migrate_drupal/src/Plugin/migrate/source/d8/Config.php, line 67

Class

Config
Drupal 8+ configuration source from database.

Namespace

Drupal\migrate_drupal\Plugin\migrate\source\d8

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, StateInterface $state, EntityTypeManagerInterface $entity_type_manager) {
    @trigger_error(__CLASS__ . ' is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. Use \\Drupal\\migrate\\Plugin\\migrate\\source\\ContentEntity instead. See https://www.drupal.org/node/3508578', E_USER_DEPRECATED);
    parent::__construct($configuration, $plugin_id, $plugin_definition, $migration, $state, $entity_type_manager);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.