/** * Overrides \Drupal\Core\Config\ExtensionInstallStorage::__construct(). * * Sets includeProfile to FALSE. * * @param \Drupal\Core\Config\StorageInterface $config_storage * The active configuration store where the list of installed modules and * themes is stored. * @param string $directory * The directory to scan in each extension to scan for files. Defaults to * 'config/install'. * @param string $collection * (optional) The collection to store configuration in. Defaults to the * default collection. */ public function __construct(StorageInterface $config_storage, $directory = self::CONFIG_INSTALL_DIRECTORY, $collection = StorageInterface::DEFAULT_COLLECTION) { parent::__construct($config_storage, $directory, $collection, FALSE); }
/** * {@inheritdoc} */ public function __construct(StorageInterface $config_storage, $directory = self::CONFIG_INSTALL_DIRECTORY, $collection = StorageInterface::DEFAULT_COLLECTION, $include_profile = TRUE) { parent::__construct($config_storage, $directory, $collection, $include_profile); $this->directory = 'override_config'; }