<?php

return array(

    'name' => 'widget/tabs-gravity',

    'main' => 'YOOtheme\\Widgetkit\\Widget\\Widget',

    'config' => array(

        'name'  => 'tabs-gravity',
        'label' => 'Tabs Gravity',
        'core'  => false,
        'icon'  => 'plugins/widgets/tabs-gravity/widget.svg',
        'view'  => 'plugins/widgets/tabs-gravity/views/widget.php',
        'item'  => array('title', 'content', 'media'),
        'settings' => array(
            'position'          => 'left',
            'width'             => '1-4',
            'panel'             => true,
            'min_height'        => '350',

            'media'             => true,
            'media_align'       => 'right-bottom',

            'title'             => false,
            'content'           => true,
            'title_size'        => 'panel',
            'text_align'        => 'left',
            'link'              => true,
            'link_style'        => 'primary',
            'link_text'         => 'Read more',

            'link_target'       => false,
            'class'             => ''
        )

    ),

    'events' => array(

        'init.admin' => function($event, $app) {
            $app['angular']->addTemplate('tabs-gravity.edit', 'plugins/widgets/tabs-gravity/views/edit.php', true);
        }

    )

);
