| 1 |
<?php |
| 2 |
|
| 3 |
namespace FluentForm\App\Providers; |
| 4 |
|
| 5 |
use FluentForm\Framework\Foundation\Provider; |
| 6 |
|
| 7 |
class MenuProvider extends Provider |
| 8 |
{ |
| 9 |
/** |
| 10 |
* Bootstrap any application services. |
| 11 |
* |
| 12 |
* @return void |
| 13 |
*/ |
| 14 |
public function booting() |
| 15 |
{ |
| 16 |
$this->app->addAction( |
| 17 |
'admin_menu', |
| 18 |
'\FluentForm\App\Modules\Registerer\Menu@register' |
| 19 |
); |
| 20 |
|
| 21 |
$this->app->addAction( |
| 22 |
'fluentform_global_settings_component_settings', |
| 23 |
'\FluentForm\App\Modules\Renderer\GlobalSettings\Settings@render' |
| 24 |
); |
| 25 |
|
| 26 |
$this->app->addAction( |
| 27 |
'fluentform_global_settings_component_reCaptcha', |
| 28 |
'\FluentForm\App\Modules\Renderer\GlobalSettings\Settings@render' |
| 29 |
); |
| 30 |
|
| 31 |
$this->app->addAction( |
| 32 |
'fluentform_global_settings_component_hCaptcha', |
| 33 |
'\FluentForm\App\Modules\Renderer\GlobalSettings\Settings@render' |
| 34 |
); |
| 35 |
|
| 36 |
$this->app->addAction( |
| 37 |
'ff_fluentform_form_application_view_editor', |
| 38 |
'\FluentForm\App\Modules\Registerer\Menu@renderEditor' |
| 39 |
); |
| 40 |
|
| 41 |
$this->app->addAction( |
| 42 |
'ff_fluentform_form_application_view_settings', |
| 43 |
'\FluentForm\App\Modules\Registerer\Menu@renderSettings' |
| 44 |
); |
| 45 |
|
| 46 |
$this->app->addAction( |
| 47 |
'fluentform_form_settings_container_form_settings', |
| 48 |
'\FluentForm\App\Modules\Registerer\Menu@renderFormSettings' |
| 49 |
); |
| 50 |
} |
| 51 |
} |
| 52 |
|