Changes for metatag.install: 20 added lines, 20 removed lines.
Original line number
Diff line number
Diff line
@@ -28,7 +28,11 @@ function metatag_requirements($phase) {
'severity'=>REQUIREMENT_INFO,
'title'=>'Metatag',
'value'=>t('Schema.org Metatag is recommended'),
'description'=>t('The <a href="@module">Schema.org Metatag</a> module is highly recommended to add <a href="@jsonld">JSON-LD</a> -formatted <a href="@schema">schema.org</a> compatible data structures to the site.',['@module'=>'https://www.drupal.org/project/schema_metatag','@jsonld'=>'https://json-ld.org','@schema'=>'http://schema.org']),
'description'=>t('The <a href="@module">Schema.org Metatag</a> module is highly recommended to add <a href="@jsonld">JSON-LD</a> -formatted <a href="@schema">schema.org</a> compatible data structures to the site.',[
Changes for metatag.module: 28 added lines, 28 removed lines.
Original line number
Diff line number
Diff line
@@ -35,7 +35,6 @@ function metatag_help($route_name, RouteMatchInterface $route_match) {
$output.='<li>'.t('To override the meta tags for individual entities, e.g. for individual nodes, add the "Metatag" field via the field settings for that entity or bundle type.').'</li>';
$output.='</ol>';
return$output;
break;
// The main configuration page.
case'entity.metatag_defaults.collection':
@@ -44,14 +43,12 @@ function metatag_help($route_name, RouteMatchInterface $route_match) {
$output.='<p>'.t('If the top-level configuration is not specific enough, additional default meta tag configurations can be added for a specific entity type or entity bundle, e.g. for a specific content type.').'</p>';
$output.='<p>'.t('Meta tags can be further refined on a per-entity basis, e.g. for individual nodes, by adding the "Metatag" field to that entity type through its normal field settings pages.').'</p>';
return$output;
break;
// The 'add default meta tags' configuration page.
case'entity.metatag_defaults.add_form':
$output='<p>'.t('Use the following form to override the global default meta tags for a specific entity type or entity bundle. In practical terms, this allows the meta tags to be customized for a specific content type or taxonomy vocabulary, so that its content will have different meta tags <em>default values</em> than others.').'</p>';
$output.='<p>'.t('As a reminder, if the "Metatag" field is added to the entity type through its normal field settings, the meta tags can be further refined on a per entity basis; this allows each node to have its meta tags customized on an individual basis.').'</p>';
return$output;
break;
}
}
@@ -132,6 +129,7 @@ function metatag_page_attachments(array &$attachments) {
}
}
}
/**
* Implements hook_module_implements_alter().
*/
@@ -193,7 +191,7 @@ function _metatag_remove_duplicate_entity_tags(array &$build) {