function avatars_help in Avatar Kit 8.2
Implements hook_help().
File
- ./
avatars.module, line 15 - Contains hooks for Avatar Kit.
Code
function avatars_help(string $route_name, RouteMatchInterface $route_match) : ?array {
switch ($route_name) {
case 'avatars.config.entity_map':
return [
'#markup' => t('<p>' . t('Select the destination field where avatars should be placed. Any existing images in the field will be overwritten. If you wish for uploaded images to be retained, then create a new image field and map to the new field instead.') . '</p>'),
];
}
return NULL;
}