function scheduled_updates_help in Scheduled Updates 8
Implements hook_help().
File
- ./
scheduled_updates.module, line 16 - Contains scheduled_updates.module..
Code
function scheduled_updates_help($route_name, RouteMatchInterface $route_match) {
$output = '';
switch ($route_name) {
// Main module help for the scheduled_updates module.
case 'help.page.scheduled_updates':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= scheduled_updates_help_text($route_name);
break;
case 'schedule_updates.runner_form':
$output = '<p>' . t('This will manually run all updates where the update time is equal to or less than the current time.') . '</p>';
break;
case 'entity.scheduled_update_type.collection':
$output = '<p>' . t('Scheduled Updates Types define the updates available on your site. ' . 'Each type targets specified entity type such as nodes or users. ' . 'Each type also specifies which field or fields are available on the updates of that type.') . '</p>';
break;
case 'entity.scheduled_update_type.clone_fields':
$output = '<p>' . t('This is form lets you select fields from the target entity type to be copied to this Scheduled Update Type. ' . 'The settings from the source fields will be copied and the new fields will be mapped to update the entity fields when the updates run. ' . 'Fields from the target entity type that are already mapped to update fields will no longer show up on this form. ' . 'You can delete existing fields on the manage fields tab. ') . '</p>';
}
return $output;
}