photo settings
This commit is contained in:
@ -40,11 +40,19 @@ class PhotoModule extends Module
|
||||
"url" => "/admin/photo",
|
||||
"slug" => "photo",
|
||||
]);
|
||||
|
||||
$this->menuService->createItem([
|
||||
"label" => "Фото",
|
||||
"url" => "/admin/settings/photo",
|
||||
"slug" => "photo_settings",
|
||||
"parent_slug" => "settings"
|
||||
]);
|
||||
}
|
||||
|
||||
public function deactivate(): void
|
||||
{
|
||||
$this->menuService->removeItemBySlug("photo");
|
||||
$this->menuService->removeItemBySlug("photo_settings");
|
||||
}
|
||||
|
||||
public function formInputs(string $entity, Model $model = null): void
|
||||
|
Reference in New Issue
Block a user