You are here

function ConfigIteratorSettings::__construct in Configuration Management 7.2

File

lib/Drupal/configuration/Utils/ConfigIteratorSettings.php, line 77
Definition of Drupal\configuration\Utils\ConfigIteratorSettings.

Class

ConfigIteratorSettings

Namespace

Drupal\configuration\Utils

Code

function __construct($settings) {
  $keys = array(
    'process_dependencies',
    'process_optionals',
    'callback',
    'build_callback',
    'cache',
    'already_processed',
    'settings',
    'info',
  );
  foreach ($keys as $key) {
    if (isset($settings[$key])) {
      $this->{$key} = $settings[$key];
    }
  }
}