<?php
return [
    /**
     * コンテンツ設定
     */
    'BcContents' => [
        'items' => [
            'BcContentLink' => [
                'ContentLink' => [
                    'multiple' => true,
                    'title' => __d('baser_core', 'リンク'),
                    'omitViewAction' => true,
                    'routes' => [
                        'add' => [
                            'prefix' => 'Api/Admin',
                            'plugin' => 'BcContentLink',
                            'controller' => 'ContentLinks',
                            'action' => 'add',
                            '_ext' => 'json'
                        ],
                        'edit' => [
                            'prefix' => 'Admin',
                            'plugin' => 'BcContentLink',
                            'controller' => 'ContentLinks',
                            'action' => 'edit'
                        ],
                        'view' => [
                            'plugin' => 'BcContentLink',
                            'controller' => 'ContentLinks',
                            'action' => 'view'
                        ]
                    ],
                    'icon' => 'bca-icon--link',
                ]
            ]
        ]
    ]
];
