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.
As per coding standard documentation at https://www.drupal.org/coding-standards/docs#file, the @file docblock should not be there in the files that contain a namespaced class/interface/trait, whose file name is the class name with a .php extension.
Comment | File | Size | Author |
---|---|---|---|
#8 | AfterPatch_Nivo_Slider.png | 24.74 KB | Aanal.addweb |
#5 | remove@file-2758503-5.patch | 1.53 KB | neha.gangwar |
| |||
#2 | 2758503-2.patch | 1.69 KB | Vinay15 |
|
Comments
Comment #2
Vinay15Removed @file docblock.
Comment #4
Vinay15Comment #5
neha.gangwar CreditAttribution: neha.gangwar as a volunteer commentedRetain the defintion only removes @file and contains
Comment #7
Vinay15Comment #8
Aanal.addweb CreditAttribution: Aanal.addweb at AddWeb Solution Pvt. Ltd. commented@neha.gangwar, Thanks for the patch it works well as expected. As i tested it manually by applying in module file. PFA as Result.
Comment #9
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedComment #10
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedIt was removed in https://www.drupal.org/node/2886707