diff -u b/core/modules/views/src/Plugin/views/row/RssFields.php b/core/modules/views/src/Plugin/views/row/RssFields.php --- b/core/modules/views/src/Plugin/views/row/RssFields.php +++ b/core/modules/views/src/Plugin/views/row/RssFields.php @@ -3,9 +3,7 @@ namespace Drupal\views\Plugin\views\row; use Drupal\Core\Form\FormStateInterface; -use Drupal\Core\Path\PathValidator; use Drupal\Core\Path\PathValidatorInterface; -use Drupal\Core\Url; use Symfony\Component\DependencyInjection\ContainerInterface; /** @@ -29,7 +27,7 @@ protected $pathValidator; /** - * Constructs a PluginBase object. + * Constructs a RssFields object. * * @param array $configuration * A configuration array containing information about the plugin instance. @@ -37,13 +35,13 @@ * The plugin_id for the plugin instance. * @param mixed $plugin_definition * The plugin implementation definition. - * @param \Drupal\Core\Path\PathValidatorInterface $pathValidator - * The path validtor. + * @param \Drupal\Core\Path\PathValidatorInterface $path_validator + * The path validator. */ - public function __construct(array $configuration, $plugin_id, $plugin_definition, PathValidatorInterface $pathValidator) { + public function __construct(array $configuration, $plugin_id, $plugin_definition, PathValidatorInterface $path_validator) { parent::__construct($configuration, $plugin_id, $plugin_definition); - $this->pathValidator = $pathValidator; + $this->pathValidator = $path_validator; } /**