Provide the request object for ArgumentDefaultPluginBase::getArgument() as argument

Created on 26 June 2013, almost 12 years ago
Updated 18 December 2024, 4 months ago

Most default_argument plugins need to the current system_path. Instead of retrieving it using \Drupal::request() the current Request object should be passed in the method

Followup from #788900: Deprecate and remove usages of arg()

📌 Task
Status

Closed: outdated

Version

11.0 🔥

Component

views.module

Created by

🇨🇭Switzerland ParisLiakos

Live updates comments and jobs are added and updated live.
  • VDC

    Related to the Views in Drupal Core initiative.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇳🇱Netherlands Lendude Amsterdam

    Going though (really) old issues for some clean up. The request is now gotten from $this->view which sounds fine, so closing this

Production build 0.71.5 2024