Last active
May 5, 2018 20:58
-
-
Save init90/419365b0da2d0b3f04e2b2ade248fc65 to your computer and use it in GitHub Desktop.
Drupal 8, create custom config and added parameter to it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $config = \Drupal::service('config.factory')->getEditable('domain.config.three_d8_test.system.site'); | |
| $config->set('name', 'trest'); | |
| $config->save(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment