CustomFieldTypes.php
27 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Kirki\App\Constants\Collection; |
| 4 | |
| 5 | use Kirki\Framework\Concerns\HasConstants; |
| 6 | |
| 7 | class CustomFieldTypes |
| 8 | { |
| 9 | use HasConstants; |
| 10 | |
| 11 | const TEXT = 'text'; |
| 12 | const RICH_TEXT = 'rich-text'; |
| 13 | const IMAGE = 'image'; |
| 14 | const VIDEO = 'video'; |
| 15 | const EMAIL = 'email'; |
| 16 | const PHONE = 'phone'; |
| 17 | const NUMBER = 'number'; |
| 18 | const DATE = 'date'; |
| 19 | const TIME = 'time'; |
| 20 | const SWITCH = 'switch'; |
| 21 | const OPTION = 'option'; |
| 22 | const URL = 'url'; |
| 23 | const FILE = 'file'; |
| 24 | const GALLERY = 'gallery'; |
| 25 | const REFERENCE = 'reference'; |
| 26 | const MULTI_REFERENCE = 'multi-reference'; |
| 27 | } |