[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/drupal-mode 3cae8bea76 267/308: Merge pull request #70 fro
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/drupal-mode 3cae8bea76 267/308: Merge pull request #70 from arnested/api-skeleton |
Date: |
Tue, 25 Jan 2022 10:59:53 -0500 (EST) |
branch: elpa/drupal-mode
commit 3cae8bea7698336c00c346f6bd07f4ce0c72ab43
Merge: 1545d07f0d 0a23dc084a
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>
Merge pull request #70 from arnested/api-skeleton
Add autoinsert template for .api.php files
---
drupal/autoinsert.el | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/drupal/autoinsert.el b/drupal/autoinsert.el
index 1aa29d8472..cffea48331 100644
--- a/drupal/autoinsert.el
+++ b/drupal/autoinsert.el
@@ -30,6 +30,7 @@
(define-auto-insert '("\\.module" . "Drupal module file")
'drupal/autoinsert-insert-module-skeleton)
(define-auto-insert '("\\.install" . "Drupal install file")
'drupal/autoinsert-insert-install-skeleton)
(define-auto-insert '("\\.test" . "Drupal test file")
'drupal/autoinsert-insert-test-skeleton)
+(define-auto-insert '("\\.api.php" . "Drupal API file")
'drupal/autoinsert-insert-api-skeleton)
(define-skeleton drupal/autoinsert-insert-info-skeleton
"Drupal info file skeleton."
@@ -95,6 +96,27 @@
@ - "\n"
"}\n")
+(define-skeleton drupal/autoinsert-insert-api-skeleton
+ "Drupal api.php file skeleton."
+ nil
+ "<?php\n"
+ "\n"
+ "/**\n"
+ " * @file\n"
+ " * Hooks provided by the " (drupal-module-name) " module.\n"
+ " */\n"
+ "\n"
+ "/**\n"
+ " * @addtogroup hooks\n"
+ " * @{\n"
+ " */\n"
+ "\n"
+ @ - "\n"
+ "\n"
+ "/**\n"
+ " * @} End of \"addtogroup hooks\".\n"
+ " */\n")
+
(provide 'drupal/autoinsert)
- [nongnu] elpa/drupal-mode 2b71509ac3 171/308: Used `(buffer-name)` as fallback if `buffer-file-name` us not set., (continued)
- [nongnu] elpa/drupal-mode 2b71509ac3 171/308: Used `(buffer-name)` as fallback if `buffer-file-name` us not set., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 135c5f669e 197/308: Add interface with gtags via `ggtags.el', ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode b929895d51 184/308: Added own implementation of flymake init and temp names., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 7402b9e9fb 201/308: Merge pull request #43 from arnested/flycheck-update, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 60b231a125 202/308: Bumped version to 0.5.0., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode c83705239e 214/308: Merge pull request #50 from kaaresl/develop, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 5911ac2158 211/308: Fixed bad indentation., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 76199a3c68 243/308: Bump version number to 0.6.0., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 6fbdf7946b 241/308: Fixed getting Drupal site temp folder., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode d88b39e8f5 262/308: Fixed travis.yml, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 3cae8bea76 267/308: Merge pull request #70 from arnested/api-skeleton,
ELPA Syncer <=
- [nongnu] elpa/drupal-mode 1545d07f0d 265/308: Use drupal/phpcs-standard in drupal-phpcs checker, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 690f2c5592 293/308: Cleanup URLs in documentation, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 81c63e7c5a 064/308: Removed accidental debug message., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 615de83357 077/308: Build tags-table when drupal-mode is entered., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 9ca9376c93 055/308: Addes wrapper function and added test cases to package., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 866c3f4f86 128/308: Carton renamed to Cask., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 080049a881 130/308: Reenable ignore-errors., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 0a9d8dfa49 164/308: Cleaned whitespace., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 430b04536e 176/308: Added special case for .tpl.php extensions., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode be281df109 175/308: Added info modes. Drupal Coder Sniffer understands info files as well., ELPA Syncer, 2022/01/25