Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Gung Wang’s picture

Assigned: Unassigned » Gung Wang

I take it.

Gung Wang’s picture

Status: Active » Needs review
FileSize
3.52 KB

Uploaded the patch.

elvis2’s picture

Should the access modifier on this function be public?

heddn’s picture

If the method is only used internally i.e. $this->{foo}, then I'd recommend protected. Otherwise, go with public as it needs to be usable by folks outside the class is apart of the public API.

SpartyDan’s picture

+++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/wizard/Comment.php
@@ -113,8 +113,8 @@ protected function page_display_options(array $form, array &$form_state) {
   /**
    * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::page_display_options().
    */

Corrected error in documentation page_display_options should be block_display_options which is updated by this patch to be blockDisplayOptions

Updates from patch in comment #2 are also included in this patch.

aspilicious’s picture

Status: Needs review » Reviewed & tested by the community

Should be ok if it comes back green

elvis2’s picture

Status: Reviewed & tested by the community » Needs review
aspilicious’s picture

Status: Needs review » Reviewed & tested by the community
alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed cb1e2df and pushed to 8.x. Thanks!

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