tag settings
This commit is contained in:
@ -18,13 +18,14 @@ class EntityRelation
|
||||
}
|
||||
|
||||
|
||||
public function getEntityList(): array
|
||||
public static function getEntityList(): array
|
||||
{
|
||||
$list = [];
|
||||
$activeModules = $this->moduleService->getActiveModules();
|
||||
$moduleService = new ModuleService();
|
||||
$activeModules = $moduleService->getActiveModules();
|
||||
foreach ($activeModules as $module) {
|
||||
if (isset($module['type']) and $module['type'] === "entity") {
|
||||
$list[] = $module['slug'];
|
||||
$list[$module['slug']] = $module['name'];
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user