<?php

$viewdefs['base']['view']['ar-dashboard'] = array(
    'dashlets' => array(
        array(
            'label' => 'LBL_ANALYTIC_REPORTING_DASHBOARD',
            'description' => 'LBL_ANALYTIC_REPORTING_DASHBOARD_DESCRIPTION',
            'config' => array(
            ),
            'preview' => array(
            ),
            'filter' => array(
            )
        ),
    ),
    'config' => array(
        // Define available fields in config view
        'fields' => array(
            // Field for dashboard selection
            array(
                'name' => 'dashboardId',
                'label' => 'LBL_ANALYTIC_REPORTING_DASHBOARD_SELECTION',
                'type' => 'enum',
                'view' => 'edit',
                'default' => true,
                'required' => true,
                'sort_alpha' => true,
                'ordered' => true,
                'options' => array(),
            ),
        ),
        // Show or hide dashlet front toolbar
        'showToolbar' => false,
        // Show or hide footer panel
        'showFooter' => false,
        // Open dashboard with following URL
        'openDashboardUrl' => '#bwc/index.php?module=AnalyticReporting&action=dashboard&dashboardId=',
    ),
);