- Issue created by @himanshu_jhaloya
- @himanshu_jhaloya opened merge request.
- Issue was unassigned.
- Status changed to Needs review
almost 2 years ago 6:46am 16 February 2023 - Assigned to Sonal Gyanani
- Issue was unassigned.
- Status changed to RTBC
almost 2 years ago 9:20am 16 February 2023 - 🇮🇳India Sonal Gyanani
Thanks @himanshu_jhaloya, MR looks good all errors and warnings are fixed now.
So moving it to RTBC - Status changed to Needs work
almost 2 years ago 9:32am 16 February 2023 - 🇮🇹Italy apaderno Brescia, 🇮🇹
+use Symfony\Component\DependencyInjection\ContainerInterface; +use Drupal\Core\Config\ConfigFactoryInterface;
use
statements are alphabetically ordered. - First commit to issue fork.
- 🇮🇹Italy apaderno Brescia, 🇮🇹
+ /** + * The Config Form. + * + * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory + * The config factory. + */ + public function __construct(ConfigFactoryInterface $config_factory) { + $this->configFactory = $config_factory;
The short description for a constructor starts with Constructs a new and ends with the class name (namespace included) and object.
public function buildForm(array $form, FormStateInterface $form_state) { - $config = \Drupal::service('config.factory')->getEditable('mail_login.settings'); + $config = $this->configFactory->getEditable('mail_login.settings');
A class that extends
ConfigFormBase
uses$this->config()
. - @himanshu_jhaloya opened merge request.
- Status changed to Needs review
over 1 year ago 6:58am 29 March 2023 - 🇯🇴Jordan mqanneh Amman
The merge requests branches have conflicts with t=8.x-2.x branch. I had to rewrite the patches.
- Status changed to Fixed
over 1 year ago 12:33am 9 May 2023