You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
509 B
PHP
14 lines
509 B
PHP
<?php
|
|
namespace Isekai\Widgets;
|
|
|
|
class Widgets {
|
|
public static function onParserSetup(&$parser){
|
|
$parser->setHook('createpage', CreatePageWidget::class . '::create');
|
|
$parser->setHook('discoverbox', DiscoverWidget::class . '::create');
|
|
$parser->setHook('previewcard', PreviewCardWidget::class . '::create');
|
|
|
|
$parser->setHook('tile', TileWidget::class . '::create');
|
|
$parser->setHook('tilegroup', TileGroupWidget::class . '::create');
|
|
return true;
|
|
}
|
|
} |