$installed_profile

  1. drupal
    1. 6
    2. 8
    3. 7

The name of the profile that has just been installed.

documentation/developer/globals.php, line 70

<?php
global $installed_profile
?>