install_profile_info
function install_profile_info
install_profile_info($profile,$langcode= 'en')
Retrieves information about an installation profile from its .info.yml file.
The information stored in a profile .info.yml file is similar to that stored in a normal Drupal module .info.yml file. For example:
- name: The real name of the installation profile for display purposes.
- description: A brief description of the profile.
- dependencies: An array of shortnames of other modules that this install profile requires.
Additional, less commonly-used information that can appear in a profile.info.yml file but not in a normal Drupal module .info.yml file includes:
- distribution: Existence of this key denotes that the installation profile is intended to be the only eligible choice in a distribution and will be