API page: https://api.drupal.org/api/drupal/core%21modules%21system%21system.api.p...
Enter a descriptive title (above) relating to Annotations, then describe the problem you have found:
The Annotations topic (@defgroup annotation) in Drupal 8.x has some information in it that is no longer correct. It says:
To find examples of annotation for a particular annotation class, such as EntityType, look for class files that contain a PHP "use" declaration of the annotation class, or files that have an @ annotation section using the annotation class.
The first part of this is incorrect: There is no longer a PHP "use" declaration for annotation classes. It needs to be removed. The second part about the @ annotation section is still correct.
Comment | File | Size | Author |
---|---|---|---|
#2 | drupal-annotations-topic-has-incorrect-information-2139169-2.patch | 758 bytes | ajiang |
Comments
Comment #1
ajiang CreditAttribution: ajiang commentedComment #2
ajiang CreditAttribution: ajiang commentedChanged the blockquoted text in issue summary to the following:
Comment #3
ajiang CreditAttribution: ajiang commentedComment #4
slashrsm CreditAttribution: slashrsm commentedLooks good to me.
Comment #5
jhodgdonThank you! Looks good to me too. I'll get it committed shortly.
Comment #6
jhodgdonThanks again! Committed to 8.x.
And please do not hide the latest patch file on issues. :)