Get default admin template name from merged config

@return bool
556831
public function getName()
    {
        $name = false;

        // - we are on admin
        $sm = $this->themeLocator->getServiceLocator();

        // get registered PermissionsManager service and retrieve plugin
        $permissionsManager = $sm->get('yimaAuthorize.AuthServiceManager');

        /** @var $permission \yimaAdminor\Auth\AuthService */
        $permission = $permissionsManager->get('yima_adminor');
        if (!$permission->identity()->hasAuthenticated())
            // user not authorized to adminor
            return false;

        $config = $sm->get('config');
        if (isset($config['yima_adminor']) && is_array($config['yima_adminor'])) {

            $name = (isset($config['yima_adminor']['default_theme']))
                ? $config['yima_adminor']['default_theme']
                : false;
        }

        return $name;
    }
1339559
public function default()
	{
		$file = Antvel::langPath() . DIRECTORY_SEPARATOR . "en" . DIRECTORY_SEPARATOR . $this->templatesFile . ".php";

		$templates = (new Filesystem)->getRequire($file);

		return Arr::get($templates, $this->source);
	}
15361
protected function _getTplName()
    {
        // assign template name
        $sTplName = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('tpl');

        if ($sTplName) {
            // security fix so that you cant access files from outside template dir
            $sTplName = basename($sTplName);

            //checking if it is template name, not content id
            if (!getStr()->preg_match("/\.tpl$/", $sTplName)) {
                $sTplName = null;
            } else {
                $sTplName = 'message/' . $sTplName;
            }
        }

        return $sTplName;
    }
959359
protected function getConfigFormat()
    {
        $conf = $this->username;
        if (!empty($this->server)) {
            $conf .= ';'.$this->server;
        }

        $conf .= ' '.$this->password;

        if (!empty($this->alias)) {
            $conf .= ' '.$this->alias;
        }

        return $conf;
    }
1071333
public function getDefaultPages()
    {
        if ($this->defaultPages != null) {
            return $this->defaultPages;
        }
        $this->defaultPages = [];
        /** @noinspection PhpUndefinedFieldInspection */
        if ($this->configFile->defaultPages->getName()) {
            /** @noinspection PhpUndefinedFieldInspection */
            foreach ($this->configFile->defaultPages->page as $page) {
                $title = (string)$page;
                $this->defaultPages[$title]["template"] = (string)$page["template"];
                $this->defaultPages[$title]["alias"] = (string)$page["alias"];
                $this->defaultPages[$title]["id"] = (string)$page["id"];
            }

        }

        return $this->defaultPages;
    }
413787
public function getTemplateDir()
    {
        if (($sValue = $this->getViewConfigParam('templatedir')) === null) {
            $sValue = $this->getConfig()->getTemplateDir($this->isAdmin());
            $this->setViewConfigParam('templatedir', $sValue);
        }

        return $sValue;
    }
676587
protected function _getAdminUrl()
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();

        if (($adminSslUrl = $myConfig->getConfigParam('sAdminSSLURL'))) {
            $url = trim($adminSslUrl, '/');
        } else {
            $url = trim($myConfig->getConfigParam('sShopURL'), '/') . '/admin';
        }

        return \OxidEsales\Eshop\Core\Registry::getUtilsUrl()->processUrl("{$url}/index.php", false);
    }
709918
protected function getTemplates()
    {
        if (empty($this->templates)) {
            $this->templates[] = $this->environment->loadTemplate($this::DEFAULT_TEMPLATE);
        }

        return $this->templates;
    }
439658
public function getParentTemplateFilename() {

		if(empty($this->parentTemplateFilename)) {
		
			if(preg_match($this->extendRex, $this->bufferInstance->__rawContents, $matches)) {

				$this->parentTemplateFilename = $matches[1];

			}
		}

		return $this->parentTemplateFilename;
		
	}
1257446
public function getTemplate() : ?string 
    {
        if ( ! $this->hasTemplate()) {
            $this->setTemplate($this->getDefaultTemplate());
        }
        return $this->template;
    }
572728
public function getUrlTemplateDir()
    {
        if (($sValue = $this->getViewConfigParam('urltemplatedir')) === null) {
            $sValue = $this->getConfig()->getTemplateUrl($this->isAdmin());
            $this->setViewConfigParam('urltemplatedir', $sValue);
        }

        return $sValue;
    }
805858
protected function getTemplateName() {
				$templateName = $this->templateName;
				
				if($templatePrefix = $this->templatePrefix())
						$templateName = $this->joinPrefix($templateName, $templatePrefix);
				
				if($templateSuffix = $this->templateSuffix())
						$templateName = $this->joinSuffix($templateName, $templateSuffix);
				
				return $templateName;
		}
161192
private function guessTemplateName()
	{
		if ($this->package === null) {
			throw new \RuntimeException(sprintf(
				'Block package is unknown, thus it is impossible to guess template name for block [%s].',
				$this->getTitle()
			));
		}

		$name = (new \ReflectionClass($this))->getShortName();

		if (($pos = strpos($name, 'Config')) !== false
			&& $pos === (strlen($name) - 6)) {

			$name = substr($name, 0, -6);
		}

		return $this->package->getName() . ':blocks' . DIRECTORY_SEPARATOR . Inflector::tableize($name) . '.html.twig';
	}
158224
public function listTemplateNames()
    {
        $this->setUpTemplate();
        $ret = array();
        foreach ($this->templates as $key => $val) {
            $ret[] = $key;
        }
        return $ret;
    }
1310715
public function adminRender()
    {
        $result = '';
        /** @var TAdminUI $page */
        $page = Eresus_Kernel::app()->getPage();
        $ctrl = new Menus_Controller_Admin($this, $page);
        switch (true)
        {
            case !is_null(arg('id')):
                $result = $ctrl->editAction();
                break;
            case arg('action') == 'create':
                $result = $ctrl->addAction();
                break;
            case !is_null(arg('toggle')):
                $ctrl->toggleAction(arg('toggle', 'int'));
                break;
            case !is_null(arg('delete')):
                $ctrl->deleteAction(arg('delete', 'dbsafe'));
                break;
            default:
                $result = $ctrl->listAction();
        }
        return $result;
    }
230661
private function getConfigurationNamingContext()
    {
        $result = $this->adldap->getRootDse(['configurationnamingcontext']);

        if (is_array($result) && array_key_exists('configurationnamingcontext', $result)) {
            return $result['configurationnamingcontext'];
        }

        return false;
    }
492779
protected function getDefaultBranchName() {
    chdir($this->getConfigValue('repo.root'));
    $git_current_branch = trim(shell_exec("git rev-parse --abbrev-ref HEAD"));
    $default_branch = $git_current_branch . '-build';

    return $default_branch;
  }