function system_update_8301
Add install profile to core.extension configuration.
File
-
core/
modules/ system/ system.install, line 2246
Code
function system_update_8301() {
\Drupal::configFactory()->getEditable('core.extension')
->set('profile', \Drupal::installProfile())
->save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.