<?php

return [
	'default' => [
		'iconCls' => 'pimcore_icon_perspective',
		'elementTree' => [
			[
				'type' => 'documents',
				'position' => 'left',
				'expanded' => true,
				'hidden' => false,
				'sort' => -3,
			],
			[
				'type' => 'assets',
				'position' => 'left',
				'expanded' => false,
				'hidden' => false,
				'sort' => -2,
			],
			[
				'type' => 'objects',
				'position' => 'left',
				'expanded' => false,
				'hidden' => false,
				'sort' => -1,
			],
			[
				'type' => 'customview',
				'id' => 1,
			],
			[
				'type' => 'customview',
				'id' => 2,
			],
			[
				'type' => 'customview',
				'id' => 3,
			],
		],
		'toolbar' => [
		],
	],
	'editor' => [
		'iconCls' => 'pimcore_icon_perspective',
		'toolbar' => [
			'file' => [
				'items' => [
					'searchReplace' => false,
					'seemode' => false,
					'help' => false,
					'about' => false,
				],
			],
			'extras' => [
				'items' => [
					'glossary' => false,
					'redirects' => false,
					'plugins' => false,
					'applicationlog' => false,
					'backup' => false,
					'update' => false,
					'maintenance' => false,
					'systemtools' => false,
				],
			],
			'marketing' => [
				'items' => [
					'tagmanagement' => false,
					'targeting' => false,
					'newsletter' => false,
					'seo' => false,
				],
			],
			'settings' => [
				'items' => [
					'customReports' => false,
					'marketingReports' => false,
					'documentTypes' => false,
					'predefinedProperties' => false,
					'predefinedMetadata' => false,
					'system' => false,
					'website' => false,
					'web2print' => false,
					'users' => false,
					'thumbnails' => false,
					'objects' => false,
					'routes' => false,
					'cache' => [
						'items' => [
							'clearAll' => false,
							'clearTemp' => false,
							'generatePreviews' => false,
						],
					],
					'adminTranslations' => false,
					'tagConfiguration' => false,
				],
			],
		],
		'elementTree' => [
			[
				'type' => 'documents',
				'position' => 'left',
				'expanded' => true,
				'hidden' => false,
				'sort' => -3,
				'treeContextMenu' => [
					'document' => [
						'items' => [
							'addFolder' => 0,
							'addPrintPage' => 0,
							'open' => 0,
							'convert' => 0,
							'useAsSite' => 0,
							'editSite' => 0,
							'removeSite' => 0,
							'lock' => 0,
							'unlock' => 0,
							'lockAndPropagate' => 0,
							'unlockAndPropagete' => 0,
							'searchAndMove' => 0,
						],
					],
				],
				'extension' => [
					'elementRestrictions' => [
						[
							'path' => '/',                 # this set of restrictions will apply on this path and any children
							'restrictFolder' => '1',       # will also prevent any folder to be moved in here
							'restrictEmptyPage' => '1',    # will hide add empty page dropdown option
							'restrictEmail' => '1',        # will hide add email dropdown option
							'restrictNewsletter' => '1',   # will hide add newsletter dropdown option
							'restrictSnippet' => '1',      # will hide add snippet dropdown option
							'restrictEmptySnippet' => '1', # will hide add empty snippet dropdown option
							'restrictHardlink' => '1',     # will hide add hardlink dropdown option
						],
						[
							'path' => '/notifikace',
							'restrictPage' => '1',         # will hide add page dropdown option
							'restrictLink' => '1',         # will hide add link dropdown option
						],
					],
				],
			],
			[
				'type' => 'assets',
				'position' => 'left',
				'expanded' => false,
				'hidden' => false,
				'sort' => -2,
				'treeContextMenu' => [
					'asset' => [
						'items' => [
							'add' => [
								'items' => [
									'importFromServer' => 0,
								],
							],
							'lock' => 0,
							'unlock' => 0,
							'lockAndPropagate' => 0,
							'unlockAndPropagete' => 0,
							'searchAndMove' => 0,
						],
					],
				],
			],
			[
				'type' => 'objects',
				'position' => 'left',
				'expanded' => false,
				'hidden' => true,
				'sort' => -1,
			],
			[
				'type' => 'customview',
				'id' => 1,
			],
			[
				'type' => 'customview',
				'id' => 2,
			],
			[
				'type' => 'customview',
				'id' => 3,
			],
		],
	],
];
