In core/modules/views_ui/src/ViewAddForm.php file , comment just above constructor has different form name like as follow.

protected $wizardManager;

/**
   * Constructs a new ViewEditForm object.
   *
   * @param \Drupal\views\Plugin\ViewsPluginManager $wizard_manager
   *   The wizard plugin manager.
   */

Replace ViewEditForm with the ViewAddForm

protected $wizardManager;

  /**
   * Constructs a new ViewAddForm object.
   *
   * @param \Drupal\views\Plugin\ViewsPluginManager $wizard_manager
   *   The wizard plugin manager.
   */
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Hardik_Patel_12 created an issue. See original summary.

Hardik_Patel_12’s picture

Assigned: Hardik_Patel_12 » Unassigned
Status: Active » Needs review
FileSize
525 bytes

Kindly review a patch.

sd9121’s picture

Assigned: Unassigned » sd9121
sd9121’s picture

Assigned: sd9121 » Unassigned
Status: Needs review » Reviewed & tested by the community

Hi @Hardik_Patel_12,

I have applied your patch and it's fixing the comment of class, but there is one more comment you need to update for form.

Thanks!

sd9121’s picture

Status: Reviewed & tested by the community » Needs work
Hardik_Patel_12’s picture

Status: Needs work » Needs review
FileSize
723 bytes
390 bytes

Kindly review a new patch.

sd9121’s picture

Assigned: Unassigned » sd9121
sd9121’s picture

Status: Needs review » Reviewed & tested by the community

Hi @Hardik_Patel_12,

I have reviewed your patch and it looks good to me.

Thanks.

sd9121’s picture

Assigned: sd9121 » Unassigned
alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed 84241510b2 to 9.1.x and 5af3c86e94 to 9.0.x and ee175ce9f9 to 8.9.x. Thanks!

  • alexpott committed 8424151 on 9.1.x
    Issue #3157462 by Hardik_Patel_12, sd9121: Fixing comment error in...

  • alexpott committed 5af3c86 on 9.0.x
    Issue #3157462 by Hardik_Patel_12, sd9121: Fixing comment error in...

  • alexpott committed ee175ce on 8.9.x
    Issue #3157462 by Hardik_Patel_12, sd9121: Fixing comment error in...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.