src/API/GoogleAPI.php
public function getAPIKey()
    {
        $key = SiteConfig::current_site_config()->GoogleAPIKey;
        
        if (!$key) {
            $key = self::config()->api_key;
        }
        
        return $key;
    }
public function getAPIKey()
    {
        $key = SiteConfig::current_site_config()->GoogleAPIKey;
        
        if (!$key) {
            $key = self::config()->api_key;
        }
        
        return $key;
    }
public function getAPIKey ( ) { $ key = SiteConfig :: current_site_config ( ) -> GoogleAPIKey ; if ( ! $ key ) { $ key = self :: config ( ) -> api_key ; } return $ key ; }
Answers the API key from site or YAML configuration.

@return string
Answers the API key from site or YAML configuration .