Skip to content

Instantly share code, notes, and snippets.

@Srijancse-zz
Created June 15, 2016 11:24
Show Gist options
  • Save Srijancse-zz/6b2562a05128229a33a4ed08290d0dae to your computer and use it in GitHub Desktop.
Save Srijancse-zz/6b2562a05128229a33a4ed08290d0dae to your computer and use it in GitHub Desktop.
<?php
class OfflineExtensionHooks
{
public static function onBeforePageDisplay( OutputPage &$out, Skin &$skin ) {
$out->addModules( array( 'ext.offlineextension.foo' ) );
$out->addModuleStyles( array( 'ext.offlineextension.foo-indicator','ext.offlineextension.foo-english','ext.offlineextension.foo-theme'));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment