mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°4693 - Restore API to add saas entries in the backoffice pages
This commit is contained in:
@@ -123,6 +123,10 @@ class ApplicationExtensionTest extends ItopCustomDatamodelTestCase
|
||||
\iBackofficeStyleExtension::class,
|
||||
static::ENUM_API_CALL_METHOD_ENUMPLUGINS,
|
||||
],
|
||||
\iBackofficeSaasExtension::class => [
|
||||
\iBackofficeSaasExtension::class,
|
||||
static::ENUM_API_CALL_METHOD_ENUMPLUGINS,
|
||||
],
|
||||
\iBackofficeDictEntriesExtension::class => [
|
||||
\iBackofficeDictEntriesExtension::class,
|
||||
static::ENUM_API_CALL_METHOD_ENUMPLUGINS,
|
||||
|
||||
@@ -233,6 +233,19 @@ class ExampleFor_iBackofficeStyleExtension implements \iBackofficeStyleExtension
|
||||
}
|
||||
CSS;
|
||||
}
|
||||
}
|
||||
]]></content>
|
||||
</snippet>
|
||||
<snippet id="ExampleFor_iBackofficeSaasExtension" _delta="define">
|
||||
<placement>core</placement>
|
||||
<rank>0</rank>
|
||||
<content><![CDATA[
|
||||
class ExampleFor_iBackofficeSaasExtension implements \iBackofficeSaasExtension
|
||||
{
|
||||
public function GetSaas(): string
|
||||
{
|
||||
return "css/setup.scss";
|
||||
}
|
||||
}
|
||||
]]></content>
|
||||
</snippet>
|
||||
|
||||
Reference in New Issue
Block a user