Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
https://api.drupal.org/api/drupal/core%21modules%21views%21src%21Plugin%...
Current description is confusing.
Does the style plugin allows to use style plugins.
It should be changed to
To use Row plugins.
It appears that the description was copied to some derived plugins (Table).
Comment | File | Size | Author |
---|---|---|---|
#18 | 2888689-18.patch | 4.64 KB | pk188 |
#14 | 2888689-14.patch | 2.46 KB | pk188 |
#12 | 2888689-12.patch | 2.56 KB | pk188 |
#9 | 2888689-9.patch | 2.34 KB | dhruveshdtripathi |
Comments
Comment #2
Rishi KulshreshthaComment #3
Rishi KulshreshthaComment #4
Pavan B S CreditAttribution: Pavan B S at Valuebound commentedApplying the patch, please review and suggest me if i have entered a wrong description. I have taken StylePluginBase class in the description.
Comment #5
Chi CreditAttribution: Chi commentedThe issue not about spelling but meaning. The property controls row plugins.
Comment #6
Pavan B S CreditAttribution: Pavan B S at Valuebound commented@chi i didn't provide patch for spelling, i consider description based on StylePluginBase class. Sorry if I am wrong.
Comment #7
Chi CreditAttribution: Chi commented@Pavan B S
According to the property name it should be "to use row plugins".
Comment #8
naveenvalecha#7 +1
I have checked its usage. According to its usage and the property name, it should be "To use Row plugins"
Updated IS accordingly
Comment #9
dhruveshdtripathi CreditAttribution: dhruveshdtripathi at DevsAdda commentedChanges made according to comment #8.
Thank you.
Comment #10
naveenvalechaThanks!
Comment #11
tstoecklerSorry but "To use Row plugins" does not sound like a proper English sentence to me. I would suggest something like "Whether or not this style uses a row plugin."
Also all other instances beside
StylePluginBase
should be changed to simplySo we don't have to duplicate the documentation.
Comment #12
pk188 CreditAttribution: pk188 at OpenSense Labs commentedAgree with #11. Updated the patch accordingly.
Comment #13
tstoecklerThat's the direction I was talking about. Thanks @pk188! One minor problem, though, with the last patch:
This should be removed as well (except for StylePluginBase).
Comment #14
pk188 CreditAttribution: pk188 at OpenSense Labs commentedMy mistake.
Fixed #13.
Comment #15
naveenvalechaI have applied the patch and checked it locally. It still needs to apply the {@inheritdoc} to these child classes of StylePluginBase.
- Drupal\views\Plugin\views\style\Opml
- Drupal\views\Plugin\views\style\Rss
- Drupal\views_test_data\Plugin\views\style\StyleTemplateTest
- Drupal\views_test_data\Plugin\views\style\StyleTest
back to N/W for this
Comment #16
tstoecklerThanks @pk188, that's perfect.
I found some more plugins that need updating:
Opml
,Rss
,StyleTemplateTest
,StyleTest
I think we should update those too, then this is RTBC.
Comment #17
tstoecklerOops, crosspost with @naveenvalecha in #15, sorry. But great that we came to the same conclusion ;-)
Comment #18
pk188 CreditAttribution: pk188 at OpenSense Labs commentedFixed #15.
Comment #19
naveenvalechaThanks @pk188
Verified the latest patch on local and it addressed my concerns in #15
//Naveen
Comment #21
Gábor HojtsyThanks, looks good to me too, committed.
Comment #23
pk188 CreditAttribution: pk188 at OpenSense Labs commentedWhat's the status of issue. As @Gábor Hojtsy fixed and committed it, but it's status is still RTBC and no credit given to anybody.
Comment #24
naveenvalechaPlease don't change the status of this issue. I have pinged the @mixologic over IRC to look into that so that he would be able to reproduce the issue and fix the issue on drupal.org
Comment #26
pk188 CreditAttribution: pk188 at OpenSense Labs commentedThe issue has already fixed and committed. So that's why failed to apply.
Comment #27
Gábor HojtsyComment #28
pk188 CreditAttribution: pk188 at OpenSense Labs commented@Gábor Hojtsy credit is not given to anyone, there is any reason for that? Can you please tell.
Comment #29
naveenvalechaI'm getting unnecessary notifications email just for the credit stuff which I really don't care. Ping Gabor over IRC regarding credit system(which I think not an issue if we'll not get the credit here)
P.S. :Unfollowing this issue as I don't feel there's anything else required to be done here.
//Naveen
Comment #30
Gábor HojtsyComment #31
Gábor Hojtsy