theme:path
返回主题的相对路径 (或绝对路径)
使用方法:
drupal theme:path [arguments] [options]
thp可用选项
| 选项 | 详细信息 |
|---|---|
--absolute | 返回主题绝对路径 |
可用参数
| 参数 | 详细信息 |
|---|---|
theme | Theme name |
例子
Get the path of mytheme
drupal theme:path mytheme
返回主题的相对路径 (或绝对路径)
drupal theme:path [arguments] [options]
thp| 选项 | 详细信息 |
|---|---|
--absolute | 返回主题绝对路径 |
| 参数 | 详细信息 |
|---|---|
theme | Theme name |
Get the path of mytheme
drupal theme:path mytheme