<?php
/**
 * @package DJ-Catalog2-Yootheme
 * @copyright Copyright (C) DJ-Extensions.com, All rights reserved.
 * @license http://www.gnu.org/licenses GNU/GPL
 * @author url: http://dj-extensions.com
 * @author email contact@dj-extensions.com
 */

namespace DJExtensions\DJCatalog2\YOOtheme\Builder\Source\Type\Item;
defined('_JEXEC') or die;
use function YOOtheme\app;
use Joomla\CMS\Factory;
use YOOtheme\Builder\Source;
use YOOtheme\Path;
use YOOtheme\View;

class ItemLabelsType
{
	/**
	 * @return array
	 */
	public static function config()
	{
		return [

			'fields' => [
				'label' => [
					'type' => 'String',
					'metadata' => [
						'label' => 'Label',
					],
				],

				'name' => [
					'type' => 'String',
					'metadata' => [
						'label' => 'Name',
					],
				],

				'image' => [
					'type' => 'String',
					'metadata' => [
						'label' => 'Image',
					],
				],

				'description' => [
					'type' => 'String',
					'metadata' => [
						'label' => 'description',
					],
				],

			],
			'metadata' => [
				'type' => true,
				'label' => "Product's Labels",
			],

		];
	}
}
