| 1 | <?php |
||
| 14 | class Asset extends AssetBundle |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @inheritdoc |
||
| 18 | */ |
||
| 19 | public $sourcePath = '@the0rist/imperavi/assets'; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string Redactor language |
||
| 23 | */ |
||
| 24 | public $language; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var array Redactor plugins array |
||
| 28 | */ |
||
| 29 | public $plugins = []; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @inheritdoc |
||
| 33 | */ |
||
| 34 | public $css = [ |
||
| 35 | 'redactor.css' |
||
| 36 | ]; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @inheritdoc |
||
| 40 | */ |
||
| 41 | public $js = [ |
||
| 42 | 'redactor.min.js' |
||
| 43 | ]; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @inheritdoc |
||
| 47 | */ |
||
| 48 | public $depends = [ |
||
| 49 | 'yii\web\JqueryAsset' |
||
| 50 | ]; |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Register asset bundle language files and plugins. |
||
| 54 | */ |
||
| 55 | public function registerAssetFiles($view) |
||
| 70 | } |
||
| 71 |