Problem/Motivation
Follow up from #2002012: Inject the display plugin manager into the view and view factory 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
Issue fork drupal-3436814
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #5
fromme commentedReplaced
Drupal::service()with$this->routeProviderinViewExecutable::hasUrl().Opened MR.
Comment #6
smustgrave commentedSeems pretty straight forward.
Comment #7
alexpottCommitted and pushed c9879d2d55 to 11.x and 485cf20777 to 10.3.x. Thanks!