mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 22:26:46 +02:00
Admin Panel: Navigation Manager - code cleanup and refactoring.
This commit is contained in:
@@ -6,7 +6,7 @@ use Flextype\Component\Registry\Registry;
|
||||
|
||||
class NavigationManager
|
||||
{
|
||||
public static function addItem(string $area, string $item, string $title, string $link, array $attributes = [])
|
||||
public static function addItem(string $area, string $item, string $title, string $link, array $attributes = []) : void
|
||||
{
|
||||
Registry::set("admin_navigation.{$area}.{$item}.area", $area);
|
||||
Registry::set("admin_navigation.{$area}.{$item}.item", $item);
|
||||
|
Reference in New Issue
Block a user