Settings::getSettings() 

\nn\t3::Settings()->getSettings($extensionName = '', $path = ''); 

Fetches the TypoScript setup and the "settings" section there. Values from the FlexForm are not merged.

\nn\t3::Settings()->getSettings( 'nnsite' );
\nn\t3::Settings()->getSettings( 'nnsite', 'example.path' );
Copied!

| @return array

Source Code 

public function getSettings( $extensionName = '', $path = '' )
{
	$pluginSettings = $this->getPlugin( $extensionName );
	if (!$pluginSettings) return [];
	if (!$path) return $pluginSettings['settings'] ?? [];
	return $this->getFromPath( 'settings.'.$path, $pluginSettings ?? [] );
}
Copied!