function acquia_connector_update_8002 in Acquia Connector 8
Add mapping for the http_response_debug_cacheability_headers variable.
File
- ./
acquia_connector.install, line 218 - Install, update, and uninstall functions for the Acquia Connector module.
Code
function acquia_connector_update_8002() {
$config_factory = \Drupal::configFactory();
$config = $config_factory
->getEditable('acquia_connector.settings');
$mapping = $config
->get('mapping');
$mapping['http_response_debug_cacheability_headers'] = [
'container_parameter',
'http.response.debug_cacheability_headers',
];
$config
->set('mapping', $mapping);
$config
->save(TRUE);
}