public function getBrickConfig($name) { if ($this->isCustomAreaPath()) { $path = $this->getAreaDirectory(); return ExtensionManager::getBrickConfig($name, $path); } return ExtensionManager::getBrickConfig($name); }