function adstxt_help in AdsTxt 8
Same name and namespace in other branches
- 7 adstxt.module \adstxt_help()
Implements hook_help().
File
- ./
adstxt.module, line 8
Code
function adstxt_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.adstxt':
return '<p>' . t('In a multisite environment, there is no mechanism for having a separate ads.txt file for each site. This module addresses that need by letting you administer the ads.txt file from the settings interface.') . '</p>';
case 'adstxt.admin_settings_form':
return t('See <a href="https://iabtechlab.com/ads-txt/">https://iabtechlab.com/ads-txt/</a> for more information concerning how to write your <a href="@adstxt">ads.txt</a> file.', [
'@adstxt' => base_path() . 'ads.txt',
]);
}
}