This extension adds hook snippet support for the Drupal 8 and Drupal 9 API to Sublime Text.
Make sure you already have Package Control installed Choose “Install Package” from the Command Palette (Super+Shift+p) Type “Drupal Hooks” and press Enter
- Change to your Sublime Text
Packages/User
directory - Clone repository
git clone https://github.com/nkoporec/drupal-hooks.git
- Download the files using the GitHub .zip download option
- Unzip the files to your Sublime Text
Packages/User
directory
In Sublime Text open Drupal project and start typing hook_HOOKNAME for snippets.
This work is licensed under the The MIT License.