I have installed minimal installation profile. Is there any entry in database where profile name is mentioned, current active profile.
I wanna get the profile name which is get installed in existing site.
If you go to
/admin/reports/status, under Drupal if you see something written after Drupal version, that's your installation profile. If there is nothing, that means it is Standard profile.
Have a look at the function drupal_get_profile
Gets the name of the currently active installation profile.
When this function is called during Drupal's initial installation process, the name of the profile that's about to be installed is stored in the global installation state. At all other times, the "install_profile" setting will be available in settings.php.
You could easily get it with the config api.
$profile = \Drupal::service('config.factory')->get('core.extension')->get('profile');
In the database, it is in the config table, serialized under the core.extension entry.
Retrieve Drupal distribution and installation profile information.
$profile = drupal_get_profile(); $profile_info = system_get_info('module', $profile) + array( 'distribution_name' => 'Drupal', 'version' => VERSION, );
More information visit here