mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-11-27 17:50:55 +00:00
4a662d3f27
Check commit and GitHub actions for more details
20 lines
440 B
PHP
20 lines
440 B
PHP
<?php
|
|
|
|
declare( strict_types=1 );
|
|
|
|
namespace TabberNeue;
|
|
|
|
use Parser;
|
|
|
|
class Hooks {
|
|
/**
|
|
* Sets up this extension's parser functions.
|
|
*
|
|
* @param Parser $parser Parser object passed as a reference.
|
|
*/
|
|
public static function onParserFirstCallInit( Parser $parser ) {
|
|
$parser->setHook( 'tabber', TabberNeue::class . '::renderTabber' );
|
|
$parser->setHook( 'tabbertransclude', TabberNeue::class . '::renderTabberTransclude' );
|
|
}
|
|
}
|