renamed method

This commit is contained in:
Andy Miller
2021-12-18 17:53:19 -07:00
parent d939b1e563
commit bfc9e26f26
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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;