action-page-it.php
2 years ago
admin-dashboard-page-it.php
2 years ago
admin-page-it.php
2 years ago
admin-dashboard-page-it.php
36 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | namespace JFB_Components\Admin\Page\Interfaces; |
| 5 | |
| 6 | // If this file is called directly, abort. |
| 7 | if ( ! defined( 'WPINC' ) ) { |
| 8 | die; |
| 9 | } |
| 10 | |
| 11 | use Jet_Form_Builder\Admin\Pages\Actions\Base_Page_Action; |
| 12 | |
| 13 | interface Admin_Dashboard_Page_It extends Admin_Page_It { |
| 14 | |
| 15 | /** |
| 16 | * Page title |
| 17 | */ |
| 18 | public function title(): string; |
| 19 | |
| 20 | /** |
| 21 | * Return page config array |
| 22 | */ |
| 23 | public function page_config(): array; |
| 24 | |
| 25 | /** |
| 26 | * Page specific assets |
| 27 | */ |
| 28 | public function assets(); |
| 29 | |
| 30 | /** |
| 31 | * @return Base_Page_Action[] |
| 32 | */ |
| 33 | public function get_actions(): array; |
| 34 | |
| 35 | } |
| 36 |