mirror of
https://github.com/getgrav/grav.git
synced 2026-07-05 09:18:43 +02:00
fix modularTypes key properties
This commit is contained in:
@@ -78,7 +78,7 @@ class Types implements \ArrayAccess, \Iterator, \Countable
|
||||
if (strpos($name, 'modular/') !== 0) {
|
||||
continue;
|
||||
}
|
||||
$list[$name] = trim(ucfirst(strtr(basename($name), '_', ' ')));
|
||||
$list[basename($name)] = trim(ucfirst(strtr(basename($name), '_', ' ')));
|
||||
}
|
||||
ksort($list);
|
||||
return $list;
|
||||
|
||||
Reference in New Issue
Block a user