forked from fa/breadcrumb-the-shire
Module pages must use a unique top-level directory (audit/) instead of nesting under admin/ which collides with core's pages/admin/ during module:build symlink creation. Routes still map admin/* URLs to the audit/ page directory via manifest route targets. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
30 lines
1.1 KiB
PHP
30 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace MintyPHP\Tests\Architecture;
|
|
|
|
final class ListTitlebarContractFiles
|
|
{
|
|
/**
|
|
* @return list<string>
|
|
*/
|
|
public static function titlebarTemplateFiles(): array
|
|
{
|
|
return [
|
|
'pages/admin/users/index(default).phtml',
|
|
'pages/admin/tenants/index(default).phtml',
|
|
'pages/admin/departments/index(default).phtml',
|
|
'pages/admin/roles/index(default).phtml',
|
|
'pages/admin/permissions/index(default).phtml',
|
|
'pages/admin/mail-log/index(default).phtml',
|
|
'pages/admin/scheduled-jobs/index(default).phtml',
|
|
'modules/audit/pages/audit/api-audit/index(default).phtml',
|
|
'modules/audit/pages/audit/import-audit/index(default).phtml',
|
|
'modules/audit/pages/audit/user-lifecycle-audit/index(default).phtml',
|
|
'modules/audit/pages/audit/system-audit/index(default).phtml',
|
|
'modules/addressbook/pages/address-book/index(default).phtml',
|
|
'pages/search/index(default).phtml',
|
|
'pages/help/hotkeys(default).phtml',
|
|
];
|
|
}
|
|
}
|