Add menu sections, icons and order, and the simple view

This commit is contained in:
Matthijs Iriks committed 2026-12-04 05:16:06 +01:00
1 parent 362a5bce2e
commit 6f31a54818
23 files changed
+393 -45

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
<?php
namespace IriksIT\Manager\Tests;
/** A site that turned the simple face of the manager on. */
abstract class SimpleViewTestCase extends TestCase
{
protected function defineEnvironment($app): void
{
parent::defineEnvironment($app);
$app['config']->set('manager.simple_view', true);
$app['config']->set('manager.menu.items', ['posts.index' => ['simple' => true, 'order' => 5, 'section' => 'Content', 'icon' => 'file']]);
}
}