Skip to content

Commit

Permalink
feat: add rockfrontend snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Mar 15, 2023
1 parent 8b83420 commit 06e4a6f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .vscode/ProcessWire.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@
"body": ["<?php namespace $1;", "$0"]
},

// RockFrontend
"rf": {
"prefix": "rf",
"body": [
"/** @var RockFrontend \\$rf */",
"\\$rf = \\$this->wire->modules->get('RockFrontend');",
"\\$rf->"
],
"description": "Get RockFrontend Module"
},

// info
"info": {
"prefix": "info",
Expand Down

0 comments on commit 06e4a6f

Please sign in to comment.