🇬🇧United Kingdom @nickspencer

Account created on 12 October 2019, about 5 years ago
#

Merge Requests

Recent comments

🇬🇧United Kingdom nickspencer

Please review my changes in branch 3.0.x

🇬🇧United Kingdom nickspencer

now I have done the changes suggested by tickets above please verify those changes it is in branch
3.0.x

🇬🇧United Kingdom nickspencer
$user = \Drupal::currentUser();
    $form['consent_url'] = [
      '#type' => 'textfield',
      '#title' =>  $this->t('URL'),
      '#maxlength' => 200,
      '#size' => 64,
      '#default_value' => (($config->get('consent_url')) ? $config->get('consent_url') : $GLOBALS['base_url'] ),
      '#attributes' => array('readonly' => 'readonly')
    ];

Every dependency must be injected using the DI container, in the create() method.
Cannot undersant what is dependency I use
\Drupal::
it must not use like this?
I have to use namespace?

🇬🇧United Kingdom nickspencer

I am going to fix the above points and please can you review it again I am fixing these point to late but is there any way that my module will become covered by Drupal again.

Production build 0.71.5 2024