Use autowire in Drush commands

Created on 10 July 2025, 1 day ago

Since ECA is doing so much nice code modernizing, I figured I would touch up the Drush commands a bit.

A few services needed to use the #[Autowire] atribute for some reason. The services were not found by classname alone for some reason.

Also, I am seeing an error with and without this MR. It might be a local issue

Could not instantiate Drupal\eca_development\Drush\Commands\DocsCommands: The "eca" plugin does not exist. Valid plugin IDs for Drupal\modeler_api\Plugin\ModelOwnerPluginManager are:
πŸ“Œ Task
Status

Needs review

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States moshe weitzman Boston, MA

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