Use Dependency Injection (DI) instead of calling the Drupal::service() method directly

Created on 2 May 2025, 13 days ago

Problem/Motivation

Use Dependency Injection (DI) instead of calling the Drupal::service() method directly.
Instead of calling the Drupal services directly use the DI for code maintainability in ai_agents_form_integration

Steps to reproduce

Proposed resolution

Update the code in
ContentTypeGeneration.php
FieldTypeGeneration.php
WebformBatchJob.php

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.1

Component

Code

Created by

🇮🇳India anjaliprasannan

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024