Add menu sections, icons and order, and the simple view
This commit is contained in:
1 parent
362a5bce2e
commit
6f31a54818
23 files changed
+393
-45
No files matched your search
@@ -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']]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user