mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 10:05:43 +02:00
Add root namespace for core events
This commit is contained in:
parent
de4f621700
commit
cb2721d1da
2 changed files with 8 additions and 8 deletions
|
@ -14,13 +14,13 @@ namespace Friendica\Event;
|
||||||
*/
|
*/
|
||||||
final class HtmlFilterEvent
|
final class HtmlFilterEvent
|
||||||
{
|
{
|
||||||
public const HEAD = 'html.head';
|
public const HEAD = 'friendica.html.head';
|
||||||
|
|
||||||
public const FOOTER = 'html.footer';
|
public const FOOTER = 'friendica.html.footer';
|
||||||
|
|
||||||
public const PAGE_CONTENT_TOP = 'html.page_content_top';
|
public const PAGE_CONTENT_TOP = 'friendica.html.page_content_top';
|
||||||
|
|
||||||
public const PAGE_END = 'html.page_end';
|
public const PAGE_END = 'friendica.html.page_end';
|
||||||
|
|
||||||
private string $name;
|
private string $name;
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,10 @@ class HtmlFilterEventTest extends TestCase
|
||||||
public static function getPublicConstants(): array
|
public static function getPublicConstants(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
[HtmlFilterEvent::HEAD, 'html.head'],
|
[HtmlFilterEvent::HEAD, 'friendica.html.head'],
|
||||||
[HtmlFilterEvent::FOOTER, 'html.footer'],
|
[HtmlFilterEvent::FOOTER, 'friendica.html.footer'],
|
||||||
[HtmlFilterEvent::PAGE_CONTENT_TOP, 'html.page_content_top'],
|
[HtmlFilterEvent::PAGE_CONTENT_TOP, 'friendica.html.page_content_top'],
|
||||||
[HtmlFilterEvent::PAGE_END, 'html.page_end'],
|
[HtmlFilterEvent::PAGE_END, 'friendica.html.page_end'],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue