Skip to content

Commit

Permalink
Update pages.md
Browse files Browse the repository at this point in the history
  • Loading branch information
glennjacobs committed Dec 22, 2023
1 parent 6cfcd73 commit 667034b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/admin/extending/pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ To extend a page you need to create and register an extension.
For example, the code below will register a custom extension called `MyEditExtension` for the `EditProduct` Filament page.

```php
use Lunar\Admin\Support\Facades\LunarPanel;

LunarPanel::registerExtension(new MyEditExtension, EditProduct::class);
```

Expand Down

0 comments on commit 667034b

Please sign in to comment.