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.
We already customized the list of ignored names for annotations by adding @endlink, but we need @file too.
The full list of stock ignored names is in AnnotationReader::$globalIgnoredNames
This is major since it allows non-annotated classes in plugin directories.
Comment | File | Size | Author |
---|---|---|---|
#2 | annotation-2042545-2-FAIL.patch | 638 bytes | tim.plunkett |
#2 | annotation-2042545-2-PASS.patch | 1.36 KB | tim.plunkett |
annotation-file.patch | 751 bytes | tim.plunkett | |
Comments
Comment #1
tim.plunkettComment #2
tim.plunkettHere's an example.
Comment #3
dawehnerI am wondering whether other tags like @defgroup @ingroup should be also added to potentially improve performance. Regardless of that, this is RTBC.
Comment #4
tim.plunkettingroup is part of the defaults, see the link in the OP.
Comment #5
catchCommitted/pushed to 8.x, thanks!