<?php

declare(strict_types=1);

/**
 * Definitions for modules provided by EXT:examples
 */
return [
    // Example for a module registration with Extbase controller
    'formresults' => [
        'parent' => 'web',
        'position' => ['after' => 'info'],
        'access' => 'user,group',
        'workspaces' => 'live',
		'iconIdentifier' => 'form_to_database_module_icon',
        'path' => '/module/web/formresults',
        'labels' => 'LLL:EXT:form_to_database/Resources/Private/Language/locallang_mod.xlf',
        // Extbase-specific configuration telling the TYPO3 Core to bootstrap Extbase
        'extensionName' => 'FormToDatabase',
        'controllerActions' => [
			\Lavitto\FormToDatabase\Controller\FormResultsController::class => [
				'index',
				'show',
				'downloadCsv',
				'deleteFormResult',
				'updateItemListSelect',
				'unDeleteFormDefinition',
            ],
        ],
    ],
];