view_password.post_update.php in View Password 8.5
Same filename and directory in other branches
Post update functions for View password module.
File
view_password.post_update.phpView source
<?php
/**
* @file
* Post update functions for View password module.
*/
/**
* Moves configuration to own namespace.
*/
function view_password_post_update_move_configuration() {
$factory = \Drupal::configFactory();
$config = $factory
->getEditable('pwd.settings');
$factory
->getEditable('view_password.settings')
->set('form_ids', $config
->get('pwd.form_id_pwd'))
->save(TRUE);
$config
->delete();
}
Functions
Name![]() |
Description |
---|---|
view_password_post_update_move_configuration | Moves configuration to own namespace. |