fixed columns
This commit is contained in:
parent
057f05281a
commit
1822a71840
|
|
@ -69,7 +69,7 @@ class Manager
|
|||
*
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function getPlugin($code)
|
||||
public function getPlugin($code): ?Plugin
|
||||
{
|
||||
$plugins = $this->getPlugins();
|
||||
return $plugins[$code] ?? null;
|
||||
|
|
|
|||
|
|
@ -100,6 +100,12 @@ class Plugin implements Arrayable, \ArrayAccess
|
|||
return admin_route('plugins.edit', ['code' => $this->code]);
|
||||
}
|
||||
|
||||
public function getColumns()
|
||||
{
|
||||
return $this->columns;
|
||||
}
|
||||
|
||||
|
||||
public function toArray(): array
|
||||
{
|
||||
return (array)array_merge([
|
||||
|
|
|
|||
Loading…
Reference in New Issue