Use provider in ViewExecutable::hasUrl() instead of \Drupal::service()

Created on 28 March 2024, 8 months ago
Updated 23 April 2024, 7 months ago

Problem/Motivation

Follow up from ๐Ÿ“Œ Inject the display plugin manager into the view and view factory Fixed from @catch

I think we could open a follow-up to use the DependencySerializationTrait in ViewsExecutabl... it'll be a little complex because we'll need to do a little work to make things work...
Also I think we should open a follow-up to use $this->provider in \Drupal\views\ViewExecutable::hasUrl() instead of \Drupal::service().

Second one will be covered here

Steps to reproduce

NA

Proposed resolution

Use provider in ViewExecutable::hasUrl() instead of \Drupal::service()

Remaining tasks

TBD

User interface changes

NA

API changes

TBD

Data model changes

TBD

Release notes snippet

TBD

๐Ÿ“Œ Task
Status

Fixed

Version

10.3 โœจ

Component
Viewsย  โ†’

Last updated about 12 hours ago

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave

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