function gravatar_check_requirements in Gravatar integration 7
Same name and namespace in other branches
- 6 gravatar.install \gravatar_check_requirements()
1 call to gravatar_check_requirements()
- gravatar_help in ./
gravatar.module - Implements hook_help().
File
- ./
gravatar.install, line 29 - Install and uninstall schema and functions for the gravatar module.
Code
function gravatar_check_requirements() {
$requirements = gravatar_requirements('runtime');
if (!empty($requirements['gravatar'])) {
drupal_set_message(t('Please check the following potential issues: !issues', array(
'!issues' => $requirements['gravatar']['description'],
)), 'warning', FALSE);
}
}