Loading CHANGELOG.txt +2 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,8 @@ Metatag 8.x-1.x-dev, 2022-xx-xx #3281987 by DamienMcKenna: Sort configuration items prior to saving. #3284465 by DamienMcKenna, murilohp: Deprecated obsolete meta http-equiv="content-language". #3270951 by marciaibanez, tmaiochi, Guilherme Rabelo, chakkche, DamienMcKenna: Coding standards improvements. Metatag 8.x-1.19, 2022-01-06 Loading metatag.install +1 −1 Original line number Diff line number Diff line Loading @@ -166,7 +166,7 @@ function metatag_update_8109(&$sandbox) { // Strip any empty tags or ones matching the field's defaults and leave // only the overridden tags in $new_tags. $tags = unserialize($record->$field_value_field); $tags = unserialize($record->$field_value_field, ['allowed_classes' => FALSE]); if (isset($tags['mask-icon'])) { $tags['mask_icon'] = [ 'href' => $tags['mask-icon'], Loading metatag.module +0 −3 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ use Drupal\Component\Plugin\Exception\PluginNotFoundException; use Drupal\Component\Plugin\Factory\DefaultFactory; use Drupal\Component\Utility\Html; use Drupal\Core\Entity\ContentEntityInterface; use Drupal\Core\Entity\Display\EntityViewDisplayInterface; use Drupal\Core\Entity\EntityInterface; Loading @@ -27,7 +26,6 @@ use Drupal\taxonomy\Plugin\migrate\source\d7\Term as Term7; use Drupal\taxonomy\TermInterface; use Drupal\user\Plugin\migrate\source\d6\User as User6; use Drupal\user\Plugin\migrate\source\d7\User as User7; use Drupal\Core\Render\HtmlResponseAttachmentsProcessor; use Drupal\Core\StringTranslation\TranslatableMarkup; use Drupal\commerce_migrate_commerce\Plugin\migrate\source\commerce1\ProductDisplay; Loading Loading @@ -831,7 +829,6 @@ function metatag_migrate_prepare_row(Row $row, MigrateSourceInterface $source, M // define('NODEWORDS_TYPE_TRACKER', 7); // define('NODEWORDS_TYPE_VOCABULARY', 9); // @endcode /** @var \Drupal\migrate\Plugin\migrate\source\SqlBase $source */ /** @var \Drupal\Core\Database\Query\SelectInterface $query */ $query = $source->getDatabase()->select('nodewords', 'nw') Loading metatag.tokens.inc +1 −1 Original line number Diff line number Diff line Loading @@ -208,7 +208,7 @@ function metatag_tokens($type, $tokens, array $data, array $options, BubbleableM // For [metatag:tag_name:0], [metatag:tag_name:0:value] and // [metatag:tag_name:value] tokens. else { list($tag_name, $delta) = explode(':', $name, 2); [$tag_name, $delta] = explode(':', $name, 2); if (!is_numeric($delta)) { unset($delta); } Loading metatag_extended_perms/metatag_extended_perms.info.yml +1 −1 Original line number Diff line number Diff line Loading @@ -4,4 +4,4 @@ description: "Adds individual permissions for each meta tag, allowing for fine-g core_version_requirement: '^9' package: SEO dependencies: - metatag - metatag:metatag Loading
CHANGELOG.txt +2 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,8 @@ Metatag 8.x-1.x-dev, 2022-xx-xx #3281987 by DamienMcKenna: Sort configuration items prior to saving. #3284465 by DamienMcKenna, murilohp: Deprecated obsolete meta http-equiv="content-language". #3270951 by marciaibanez, tmaiochi, Guilherme Rabelo, chakkche, DamienMcKenna: Coding standards improvements. Metatag 8.x-1.19, 2022-01-06 Loading
metatag.install +1 −1 Original line number Diff line number Diff line Loading @@ -166,7 +166,7 @@ function metatag_update_8109(&$sandbox) { // Strip any empty tags or ones matching the field's defaults and leave // only the overridden tags in $new_tags. $tags = unserialize($record->$field_value_field); $tags = unserialize($record->$field_value_field, ['allowed_classes' => FALSE]); if (isset($tags['mask-icon'])) { $tags['mask_icon'] = [ 'href' => $tags['mask-icon'], Loading
metatag.module +0 −3 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ use Drupal\Component\Plugin\Exception\PluginNotFoundException; use Drupal\Component\Plugin\Factory\DefaultFactory; use Drupal\Component\Utility\Html; use Drupal\Core\Entity\ContentEntityInterface; use Drupal\Core\Entity\Display\EntityViewDisplayInterface; use Drupal\Core\Entity\EntityInterface; Loading @@ -27,7 +26,6 @@ use Drupal\taxonomy\Plugin\migrate\source\d7\Term as Term7; use Drupal\taxonomy\TermInterface; use Drupal\user\Plugin\migrate\source\d6\User as User6; use Drupal\user\Plugin\migrate\source\d7\User as User7; use Drupal\Core\Render\HtmlResponseAttachmentsProcessor; use Drupal\Core\StringTranslation\TranslatableMarkup; use Drupal\commerce_migrate_commerce\Plugin\migrate\source\commerce1\ProductDisplay; Loading Loading @@ -831,7 +829,6 @@ function metatag_migrate_prepare_row(Row $row, MigrateSourceInterface $source, M // define('NODEWORDS_TYPE_TRACKER', 7); // define('NODEWORDS_TYPE_VOCABULARY', 9); // @endcode /** @var \Drupal\migrate\Plugin\migrate\source\SqlBase $source */ /** @var \Drupal\Core\Database\Query\SelectInterface $query */ $query = $source->getDatabase()->select('nodewords', 'nw') Loading
metatag.tokens.inc +1 −1 Original line number Diff line number Diff line Loading @@ -208,7 +208,7 @@ function metatag_tokens($type, $tokens, array $data, array $options, BubbleableM // For [metatag:tag_name:0], [metatag:tag_name:0:value] and // [metatag:tag_name:value] tokens. else { list($tag_name, $delta) = explode(':', $name, 2); [$tag_name, $delta] = explode(':', $name, 2); if (!is_numeric($delta)) { unset($delta); } Loading
metatag_extended_perms/metatag_extended_perms.info.yml +1 −1 Original line number Diff line number Diff line Loading @@ -4,4 +4,4 @@ description: "Adds individual permissions for each meta tag, allowing for fine-g core_version_requirement: '^9' package: SEO dependencies: - metatag - metatag:metatag