function ConfigInstaller::installOptionalConfig

Same name in this branch
  1. 9 core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::installOptionalConfig()
Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::installOptionalConfig()
  2. 8.9.x core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::installOptionalConfig()
  3. 10 core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::installOptionalConfig()
  4. 10 core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::installOptionalConfig()
  5. 11.x core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::installOptionalConfig()
  6. 11.x core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::installOptionalConfig()

Overrides ConfigInstallerInterface::installOptionalConfig

File

core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php, line 81

Class

ConfigInstaller
Provides a proxy class for \Drupal\Core\Config\ConfigInstaller.

Namespace

Drupal\Core\ProxyClass\Config

Code

public function installOptionalConfig(?\Drupal\Core\Config\StorageInterface $storage = NULL, $dependency = array()) {
    return $this->lazyLoadItself()
        ->installOptionalConfig($storage, $dependency);
}

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