snippet
Runs PHP code
वापर:
drupal snippet [options]उपलब्ध पर्याय
| पर्याय | तपशील |
|---|---|
--file | Path to the file |
--code | Code to execute |
--show-code | Show code after execute |
उदाहरणे
Run using a file.
drupal snippet --file=/path/to/filePassing code as option.
drupal snippet --code=codeToExecuteShow code executed
drupal snippet --show-code --file=/path/to/file