<?php
return array(
    "type" => "speaker",
    "model" => "Speaker",
    "label" => "Speakers",
    "label_singular" => "Speaker",
    "template" => false,
    "order" => false,
    "group" => "communicating",
    "shareable" => "none",
    "fields" => array(
        array(
            "name" => "title",
            "label" => "Name",
            "type" => "textBox",
            "maxLength" => 100,
            "multiLanguage" => true,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation" => "required|max:100",
            "inList" => true,
            "search" => true,
            "sort" => true
        ),
        array(
          "name" => "label",
          "label" => "Label",
          "type" => "textBox",
          "maxLength" => 30,
          "multiLanguage" => true,
          "preValidation" => "strip_tags|xss_clean|trim",
          "validation" => "max:30",
      ),
        array(
            "name" => "subtitle",
            "label" => "Subtitle - Position / Company",
            "type" => "textBox",
            "maxLength" => 100,
            "multiLanguage" => true,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation" => "max:100",
        ),
        array(
            "name" => "image",
            "label" => "Image",
            "type" => "mediaPicker",
            "multiLanguage" => false,
            "mediaType" => "image",
            "placement" => "sidebar",
            "multiple" => false,
        ),
        array(
            "name" => "bio",
            "label" => "Bio",
            "type" => "editor",
            "multiLanguage" => true,
            "preValidation" => "trim",
            "validation" => "",
        ),
        array(
            "name" => "linkedin_url",
            "label" => "linkedIn link",
            "type" => "textBox",
            "maxLength" => 255,
            "multiLanguage" => false,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation" => "url|max:255",
            "inList" => false,
            "search" => false,
            "sort" => false
        ),
        array(
            "name" => "facebook_url",
            "label" => "Facebook link",
            "type" => "textBox",
            "maxLength" => 255,
            "multiLanguage" => false,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation" => "url|max:255",
            "inList" => false,
            "search" => false,
            "sort" => false
        ),
    ),
    "actions" => array(
        "insert", "edit", "delete", "duplicate"
    )
);
