We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 5 | trait UniquePages |
||
| 6 | { |
||
| 7 | /* |
||
| 8 | |-------------------------------------------------------------------------- |
||
| 9 | | Unique pages for Backpack\PageManager |
||
| 10 | |-------------------------------------------------------------------------- |
||
| 11 | | |
||
| 12 | | Each unique page has its own method that defines what fields should show up using the Backpack\CRUD API. |
||
| 13 | | Use snake_case for naming and PageManager will generate the page on first edit. |
||
| 14 | | |
||
| 15 | | Any fields defined here will show up after the standard page fields: |
||
| 16 | | - select template (hidden field and not editable) |
||
| 17 | | - page name (only seen by admins) |
||
| 18 | | - page title |
||
| 19 | | - page slug (hidden and not editable, generated as slug of method name) |
||
| 20 | */ |
||
| 21 | |||
| 22 | private function about_us() |
||
| 31 | } |
||
| 32 |