Closed (fixed)
Project:
Drupal core
Version:
8.5.x-dev
Component:
documentation
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2017 at 12:58 UTC
Updated:
6 Feb 2018 at 13:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joachim commentedActually, I don't think this is a novice issue, as this could really do with explaining the parameters that the alter hook is invoked with, even if that's just done with a @see to the method that does the invoking.
Comment #3
chiranjeeb2410 commented@joachim,
Uploaded patch with corresponding changes.
Please review.
Comment #5
sarguna raj m commentedComment #6
sarguna raj m commentedHi Joachim,
I have tested the chiranjeeb2410's patch #3 manually and it has replaced the "Initializes the alter hook" with "Defines the name of the alter hook for plugin definitions" as you mentioned.
Please refer the attached screenshot.
Thanks.
Comment #7
catchI'm not sure about this wording either to be honest. It's a setter for the alter hook name (not sure why it's not called setAlterHook()) - so could we just say "Sets the alter hook name." or something like this?
Comment #8
sarguna raj m commentedComment #9
sarguna raj m commented@catch
As per your request, I have created the patch.
Please review the same. :)
Comment #10
joachim commentedLooks good!
Comment #12
catchCommitted/pushed to 8.6.x and cherry-picked to 8.5.x. Thanks!
Comment #15
chiranjeeb2410 commented