You are here

public static function ConfigurationManagement::startTracking in Configuration Management 7.2

Includes a record of each configuration tracked in the configuration_tracked table and export the configurations to the DataStore.

Parameters

array $list: The list of components that have to will be tracked.

boolean $track_dependencies: If TRUE, dependencies of each proccessed configuration will be tracked too.

boolean $track_optionals: If TRUE, optionals configurations of each proccessed configuration will be tracked too.

Return value

ConfigIteratorSettings An ConfigIteratorSettings object that contains the tracked configurations.

6 calls to ConfigurationManagement::startTracking()
ConfigurationApiTest::testimportToActiveStore in tests/configuration.test
ConfigurationApiTest::testStartAndStopTracking in tests/configuration.test
configuration_import_directory in ./configuration.module
Import all configuration files within a directory.
configuration_ui_start_tracking_form_submit in ui/configuration_ui.admin.inc
Submit handler for start tracking configs.
configuration_ui_start_tracking_single_confirm_submit in ui/configuration_ui.admin.inc
Submit handler for start tracking a single config.

... See full list

File

lib/Drupal/configuration/Config/ConfigurationManagement.php, line 173
Definition of Drupal\configuration\Config\ConfigurationManagement.

Class

ConfigurationManagement

Namespace

Drupal\configuration\Config

Code

public static function startTracking($list = array(), $track_dependencies = TRUE, $track_optionals = TRUE) {
  return static::exportToDataStore($list, $track_dependencies, $track_optionals, TRUE);
}