Upgrade to 3.7.0
This commit is contained in:
12
kirby/src/Cms/AppPlugins.php
Normal file → Executable file
12
kirby/src/Cms/AppPlugins.php
Normal file → Executable file
@@ -790,6 +790,18 @@ trait AppPlugins
|
||||
$this->extendTemplates($this->core->templates());
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if a native component was extended
|
||||
* @since 3.7.0
|
||||
*
|
||||
* @param string $component
|
||||
* @return bool
|
||||
*/
|
||||
public function isNativeComponent(string $component): bool
|
||||
{
|
||||
return $this->component($component) === $this->nativeComponent($component);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the native implementation
|
||||
* of a core component
|
||||
|
Reference in New Issue
Block a user