File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 3030(define-auto-insert '(" \\ .module" . " Drupal module file" ) 'drupal/autoinsert-insert-module-skeleton )
3131(define-auto-insert '(" \\ .install" . " Drupal install file" ) 'drupal/autoinsert-insert-install-skeleton )
3232(define-auto-insert '(" \\ .test" . " Drupal test file" ) 'drupal/autoinsert-insert-test-skeleton )
33+ (define-auto-insert '(" \\ .api.php" . " Drupal API file" ) 'drupal/autoinsert-insert-api-skeleton )
3334
3435(define-skeleton drupal/autoinsert-insert-info-skeleton
3536 " Drupal info file skeleton."
9596 @ - " \n "
9697 " }\n " )
9798
99+ (define-skeleton drupal/autoinsert-insert-api-skeleton
100+ " Drupal api.php file skeleton."
101+ nil
102+ " <?php\n "
103+ " \n "
104+ " /**\n "
105+ " * @file\n "
106+ " * Hooks provided by the " (drupal-module-name) " module.\n "
107+ " */\n "
108+ " \n "
109+ " /**\n "
110+ " * @addtogroup hooks\n "
111+ " * @{\n "
112+ " */\n "
113+ " \n "
114+ @ - " \n "
115+ " \n "
116+ " /**\n "
117+ " * @} End of \" addtogroup hooks\" .\n "
118+ " */\n " )
119+
98120
99121
100122(provide 'drupal/autoinsert )
You can’t perform that action at this time.
0 commit comments