You are here

function drupal_commons_profile_details in Drupal Commons 6.2

Same name and namespace in other branches
  1. 6 drupal_commons.profile \drupal_commons_profile_details()

Return a description of the profile for the initial installation screen.

Return value

An array with keys 'name' and 'description' describing this profile, and optional 'language' to override the language selection for language-specific profiles.

File

./drupal_commons.profile, line 55

Code

function drupal_commons_profile_details() {
  $logo = '<a href="http://drupal.org/project/commons" target="_blank"><img alt="Commons" title="Commons" src="./profiles/drupal_commons/images/logo.png"></img></a>';
  $description = st('Select this profile to install the Commons distribution for powering your community website. Commons provides provides blogging, discussions, user profiles, and other useful community features for both private communities (e.g. an Intranet), or public communities (e.g. a customer community).');
  $description .= '<br/>' . $logo;
  return array(
    'name' => 'Commons',
    'description' => $description,
  );
}