File manager - Edit - /home/linknsbh/cecil-hotel.net/vendor/botble/platform/base/src/Forms/Fields/TinyMceField.php
Back
<?php namespace Botble\Base\Forms\Fields; use Botble\Base\Forms\FormField; use Illuminate\Support\Arr; class TinyMceField extends FormField { protected function getTemplate(): string { return 'core/base::forms.fields.tinymce'; } public function render(array $options = [], $showLabel = true, $showField = true, $showError = true): string { $options['class'] = Arr::get($options, 'class', '') . 'form-control editor-tinymce'; $options['id'] = Arr::get($options, 'id', $this->getName()); $options['rows'] = Arr::get($options, 'rows', 4); return parent::render($options, $showLabel, $showField, $showError); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.56 |
proxy
|
phpinfo
|
Settings