2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Lists available transformation plugins
8 declare(strict_types
=1);
10 use PhpMyAdmin\Controllers\TransformationOverviewController
;
11 use PhpMyAdmin\DatabaseInterface
;
12 use PhpMyAdmin\Response
;
14 if (! defined('ROOT_PATH')) {
15 define('ROOT_PATH', __DIR__
. DIRECTORY_SEPARATOR
);
18 require_once ROOT_PATH
. 'libraries/common.inc.php';
20 /** @var Response $response */
21 $response = $containerBuilder->get(Response
::class);
23 /** @var DatabaseInterface $dbi */
24 $dbi = $containerBuilder->get(DatabaseInterface
::class);
26 $header = $response->getHeader();
27 $header->disableMenuAndConsole();
29 /** @var TransformationOverviewController $controller */
30 $controller = $containerBuilder->get(TransformationOverviewController
::class);
32 $response->addHTML($controller->indexAction());