mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-01-06 23:53:07 +01:00
plugin/theme installation pages and placeholder task for actual installation
This commit is contained in:
@@ -328,6 +328,20 @@ class AdminController
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Handles installing plugins and themes
|
||||
*
|
||||
* @return bool True is the action was performed
|
||||
*/
|
||||
public function taskInstall()
|
||||
{
|
||||
$mode = $this->view === 'plugins' ? 'plugin' : 'theme';
|
||||
$package = $this->route;
|
||||
|
||||
$this->admin->setMessage("Actual installation is not hooked up to GPM yet.");
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Handles form and saves the input data if its valid.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user