function _commons_filter_dependencies in Drupal Commons 7.3
array_filter() callback used to filter out already installed dependencies.
1 string reference to '_commons_filter_dependencies'
- commons_install_additional_modules in ./
commons.install - Task callback: uses Batch API to enable modules based on user selection.
File
- ./
commons.install, line 355 - Install, update and uninstall functions for the Commons install profile.
Code
function _commons_filter_dependencies($dependency) {
return !module_exists($dependency);
}