- Issue created by @capysara
Follow up to MR comment.
In core/modules/comment/src/Plugin/views/field/StatisticsLastUpdated.php:
public function __construct(array $configuration, $plugin_id, $plugin_definition, DateFormatterInterface $date_formatter, EntityTypeManagerInterface $entity_type_manager, EntityFieldManagerInterface $entity_field_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $date_formatter, $entity_type_manager->getStorage('date_format'));
Can we get a follow-up to remove this from this class and the parent - its an anti-pattern - see https://mglaman.dev/blog/dependency-injection-anti-patterns-drupal