mirror of
https://github.com/getgrav/grav.git
synced 2026-02-08 23:57:39 +01:00
renamed method
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Added second parameter to `UserObject::isMyself()` method
|
||||
* Added `UserObject::$isAuthorizedCallable` to allow `$user->isAuthorized()` customization
|
||||
* Use secure session cookies in HTTPS by default (`system.session.secure_https: true`)
|
||||
* Added new `Plugin::upstreamConfigVar()` function to access plugin specific functions for page overrides
|
||||
* Added new `Plugin::inheritedConfigOption()` function to access plugin specific functions for page overrides
|
||||
2. [](#improved)
|
||||
* Upgraded vendor libs for PHP 8.1 compatibility
|
||||
* Upgraded to **composer v2.1.14** for PHP 8.1 compatibility
|
||||
|
||||
@@ -414,7 +414,7 @@ class Plugin implements EventSubscriberInterface, ArrayAccess
|
||||
return true;
|
||||
}
|
||||
|
||||
public static function upstreamConfigVar(string $plugin, string $var, PageInterface $page = null, $default = null)
|
||||
public static function inheritedConfigOption(string $plugin, string $var, PageInterface $page = null, $default = null)
|
||||
{
|
||||
if (Utils::isAdminPlugin()) {
|
||||
$page = Grav::instance()['admin']->page() ?? null;
|
||||
|
||||
Reference in New Issue
Block a user