Closed (cannot reproduce)
Project:
Drupal core
Version:
8.0.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
8 Oct 2013 at 15:05 UTC
Updated:
29 Jul 2014 at 23:01 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
stuti.manandhar commentedAs mentioned in the issue, I have tried to modify EntityType.php to meet coding standards.
Comment #2
tim.plunkettMissing trailing .
I think @link/@endlink are okay to exceed 80 chars, they need to be on one line
Omit this change
Comment #3
jhodgdonStatus as per previous review
Comment #4
stuti.manandhar commentedChanges made as suggested in comments.
Comment #5
lokapujyaLine 283 adds a blank space. The word after @todo should be capitalized.
Comment #6
richard.c.allen2386 commentedI went back and looked at the code here and it doesn't look like any of this code is left in the current 8.x branch? We were going to help clean this up for a ladder sprint but it seems to not be applicable anymore. Some confirm and maybe close? The issue is mentioned on drupalmentoring.org
Comment #7
tim.plunkettThe code in question has moved to core/lib/Drupal/Core/Entity/EntityTypeInterface.php
I'm not sure that there are still fixes needed, but someone should check.
Comment #8
jhodgdonThe original report was actually for the EntityType annotation class: core/lib/Drupal/Core/Entity/Annotation/EntityType.php
There's not much there now and I have no idea where the rest of the annotation stuff for entity types has been moved to, but it's not in core/lib/Drupal/Core/Entity/EntityTypeInterface.php either. ???
Comment #9
tim.plunkettInstead of documenting each annotation key, we now document each method used to retrieve it.
The docblocks were moved and reworded only slightly. s/An associative array that/Returns an associative array that/, etc.
Comment #10
jhodgdonWell. That makes the Annotations topic we have on api.drupal.org nearly useless -- I set it up a while back so that each @Annotation class got shown there, but they have nearly zero documentation and no links to their interfaces:
https://api.drupal.org/api/drupal/core!modules!system!system.api.php/gro...
Which is a separate issue -- this one can be closed. I filed:
#2189497: Object-based Annotation classes need links to interfaces