bnomei/kirby-blueprints

View on GitHub
classes/Blueprints/Schema/FieldTypes.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Bnomei\Blueprints\Schema;

enum FieldTypes: string
{
    case BLOCKS = 'blocks';
    case CHECKBOXES = 'checkboxes';
    case COLOR = 'color';
    case DATE = 'date';
    case EMAIL = 'email';
    case FILES = 'files';
    case GAP = 'gap';
    case GROUP = 'group';
    case HEADLINE = 'headline';
    case HIDDEN = 'hidden';
    case INFO = 'info';
    case LAYOUT = 'layout';
    case LINE = 'line';
    case LINK = 'link';
    case LIST = 'list';
    case MULTISELECT = 'multiselect';
    case NUMBER = 'number';
    case OBJECT = 'object';
    case PAGES = 'pages';
    case RADIO = 'radio';
    case RANGE = 'range';
    case SELECT = 'select';
    case SLUG = 'slug';
    case STRUCTURE = 'structure';
    case TAGS = 'tags';
    case TEL = 'tel';
    case TEXT = 'text';
    case TEXTAREA = 'textarea';
    case TIME = 'time';
    case TOGGLE = 'toggle';
    case TOGGLES = 'toggles';
    case URL = 'url';
    case USERS = 'users';
    case WRITER = 'writer';
}