SidebarLink.php in FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses 2.10.01, at app/Models/SidebarLink.php
| 1 | <?php |
| 2 | |
| 3 | namespace FluentCommunity\App\Models; |
| 4 | |
| 5 | |
| 6 | /** |
| 7 | * SideBar Link Model - DB Model for Individual Links |
| 8 | * |
| 9 | * Database Model |
| 10 | * |
| 11 | * @package FluentCommunity\App\Models |
| 12 | * |
| 13 | * @version 1.7.5 |
| 14 | */ |
| 15 | class SidebarLink extends BaseSpace |
| 16 | { |
| 17 | protected static $type = 'sidebar_link'; |
| 18 | |
| 19 | public function defaultSettings() |
| 20 | { |
| 21 | return [ |
| 22 | 'emoji' => '', |
| 23 | 'shape_svg' => '', |
| 24 | 'permalink' => '', |
| 25 | 'membership_ids' => [] |
| 26 | ]; |
| 27 | } |
| 28 | |
| 29 | } |
| 30 |