<?php
/**
 * Override field methods
 *
 * @package     Kirki
 * @subpackage  Controls
 * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
 * @license     http://opensource.org/licenses/https://opensource.org/licenses/MIT
 * @since       2.2.7
 */

if (!class_exists('Kirki_Field_Preset')) {

    /**
     * Field overrides.
     */
    class Kirki_Field_Preset extends Kirki_Field_Select
    {

        /**
         * Sets the control type.
         *
         * @access protected
         */
        protected function set_type()
        {

            $this->type = 'kirki-preset';

        }

        /**
         * Sets the $multiple
         *
         * @access protected
         */
        protected function set_multiple()
        {

            $this->multiple = '1';

        }
    }
}
