父节点
06f2abb0c4
当前提交
e4c279919c
文件差异内容过多而无法显示
加载差异
|
@ -17,38 +17,38 @@ use ResourceLoaderSkinModule;
|
|||
*/
|
||||
class GongbiVariablesModule extends ResourceLoaderSkinModule
|
||||
{
|
||||
/**
|
||||
* Add our LESS variables
|
||||
*
|
||||
* @param ResourceLoaderContext $context
|
||||
* @return array LESS variables
|
||||
*/
|
||||
protected function getLessVars(ResourceLoaderContext $context)
|
||||
{
|
||||
$vars = parent::getLessVars($context);
|
||||
$config = $this->getConfig();
|
||||
/**
|
||||
* Add our LESS variables
|
||||
*
|
||||
* @param ResourceLoaderContext $context
|
||||
* @return array LESS variables
|
||||
*/
|
||||
protected function getLessVars(ResourceLoaderContext $context)
|
||||
{
|
||||
$vars = parent::getLessVars($context);
|
||||
$config = $this->getConfig();
|
||||
|
||||
return array_merge(
|
||||
$vars,
|
||||
[
|
||||
// 'logo-image' => ''
|
||||
// 'wordmark-image' => ''
|
||||
// +width cutoffs ...
|
||||
]
|
||||
);
|
||||
}
|
||||
return array_merge(
|
||||
$vars,
|
||||
[
|
||||
// 'logo-image' => ''
|
||||
// 'wordmark-image' => ''
|
||||
// +width cutoffs ...
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the config var with the caching stuff so it properly updates the cache
|
||||
*
|
||||
* @param ResourceLoaderContext $context
|
||||
* @return array
|
||||
*/
|
||||
public function getDefinitionSummary(ResourceLoaderContext $context)
|
||||
{
|
||||
$summary = parent::getDefinitionSummary($context);
|
||||
$summary[] = [];
|
||||
/**
|
||||
* Register the config var with the caching stuff so it properly updates the cache
|
||||
*
|
||||
* @param ResourceLoaderContext $context
|
||||
* @return array
|
||||
*/
|
||||
public function getDefinitionSummary(ResourceLoaderContext $context)
|
||||
{
|
||||
$summary = parent::getDefinitionSummary($context);
|
||||
$summary[] = [];
|
||||
|
||||
return $summary;
|
||||
}
|
||||
return $summary;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,12 +18,12 @@ use SkinTemplate;
|
|||
*/
|
||||
class SkinGongbi extends SkinTemplate
|
||||
{
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function __construct(
|
||||
array $options = []
|
||||
) {
|
||||
parent::__construct($options);
|
||||
}
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function __construct(
|
||||
array $options = []
|
||||
) {
|
||||
parent::__construct($options);
|
||||
}
|
||||
}
|
||||
|
|
正在加载...
在新工单中引用