example_profile_modules

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

./example.profile, строка 9

Версии
5 – 6
example_profile_modules()

Return an array of the modules to be enabled when this profile is installed.

Возвращаемое значение

An array of modules to enable.

Код

<?php
function example_profile_modules() {
  // This example profile enables the same optional modules as default.profile,
  // plus the 'locale' module. But however, any available modules may be added
  // to the list, including contributed modules, which will be then reqired by
  // the installer. Configuration of these modules may be handled later by tasks.
  return array('color', 'comment', 'help', 'menu', 'taxonomy', 'dblog', 'locale');
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему