Use Dependency Injection on integration_chargebee module

Created on 15 May 2023, over 1 year ago
Updated 16 May 2023, over 1 year ago

Problem/Motivation

using direct drupal configuration.

 public function submitForm(array &$form, FormStateInterface $form_state) {
    $config = \Drupal::config('integration_chargebee.settings');

    $site_name = $config->get('integration_chargebee_api_site_name');

Steps to reproduce

integration_chargebee/src/Form all page using drupal config
\Drupal::config('')

Proposed resolution

use Dependency Injection

📌 Task
Status

Fixed

Component

Code

Created by

🇮🇳India Shiv_Sharma

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024