drupal_install_profile_distribution_name

function drupal_install_profile_distribution_name

drupal_install_profile_distribution_name()

Loads the installation profile, extracting its defined distribution name.

Return value

The distribution name defined in the profile's .info.yml file. Defaults to "Drupal" if none is explicitly provided by the installation profile.

See also

install_profile_info()

File

core/includes/install.inc, line 96
API functions for installing modules and themes.

Code

function drupal_install_profile_distribution_name() {
  // During installation, the profile infor