diff -u b/modules/ggroup/src/Form/SubgroupFormStep1.php b/modules/ggroup/src/Form/SubgroupFormStep1.php --- b/modules/ggroup/src/Form/SubgroupFormStep1.php +++ b/modules/ggroup/src/Form/SubgroupFormStep1.php @@ -29,8 +29,8 @@ * @param \Drupal\user\PrivateTempStoreFactory $temp_store_factory * The factory for the temp store object. */ - public function __construct(EntityManagerInterface $entity_manager, PrivateTempStoreFactory $temp_store_factory) { - parent::__construct($entity_manager); + public function __construct(PrivateTempStoreFactory $temp_store_factory, EntityManagerInterface $entity_manager) { + parent::__construct($temp_store_factory, $entity_manager); $this->privateTempStore = $temp_store_factory->get('ggroup_add_temp'); } @@ -39,8 +39,8 @@ */ public static function create(ContainerInterface $container) { return new static( - $container->get('entity.manager'), - $container->get('user.private_tempstore') + $container->get('user.private_tempstore'), + $container->get('entity.manager') ); }