mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-21 04:22:35 +00:00
12 lines
368 B
PHP
12 lines
368 B
PHP
|
<?php
|
||
|
|
||
|
class PortableInfoboxResourceLoaderModule extends ResourceLoaderFileModule {
|
||
|
/** @inheritDoc */
|
||
|
protected function getLessVars( ResourceLoaderContext $context ) {
|
||
|
$lessVars = parent::getLessVars( $context );
|
||
|
$lessVars[ 'responsibly-open-collapsed'] =
|
||
|
(bool)$this->getConfig()->get( 'PortableInfoboxResponsiblyOpenCollapsed' );
|
||
|
return $lessVars;
|
||
|
}
|
||
|
}
|