33namespace Drupal \ucb_site_configuration \Form ;
44
55use Drupal \Core \Config \ConfigFactoryInterface ;
6+ use Drupal \Core \Config \TypedConfigManagerInterface ;
67use Drupal \Core \Form \ConfigFormBase ;
78use Drupal \Core \Form \FormStateInterface ;
89use Drupal \Core \Path \PathValidatorInterface ;
@@ -68,8 +69,8 @@ class GeneralForm extends ConfigFormBase {
6869 * @param \Drupal\ucb_site_configuration\SiteConfiguration $service
6970 * The site configuration service defined in this module.
7071 */
71- public function __construct (ConfigFactoryInterface $ config_factory , AliasManagerInterface $ alias_manager , PathValidatorInterface $ path_validator , RequestContext $ request_context , AccountInterface $ user , SiteConfiguration $ service ) {
72- parent ::__construct ($ config_factory );
72+ public function __construct (ConfigFactoryInterface $ config_factory , TypedConfigManagerInterface $ typed_config_manager , AliasManagerInterface $ alias_manager , PathValidatorInterface $ path_validator , RequestContext $ request_context , AccountInterface $ user , SiteConfiguration $ service ) {
73+ parent ::__construct ($ config_factory, $ typed_config_manager );
7374 $ this ->aliasManager = $ alias_manager ;
7475 $ this ->pathValidator = $ path_validator ;
7576 $ this ->requestContext = $ request_context ;
@@ -88,6 +89,7 @@ public function __construct(ConfigFactoryInterface $config_factory, AliasManager
8889 public static function create (ContainerInterface $ container ) {
8990 return new static (
9091 $ container ->get ('config.factory ' ),
92+ $ container ->get ('config.typed ' ),
9193 $ container ->get ('path_alias.manager ' ),
9294 $ container ->get ('path.validator ' ),
9395 $ container ->get ('router.request_context ' ),
0 commit comments