Commit 9e90638e authored by Lucas Hedding's avatar Lucas Hedding Committed by Damien McKenna
Browse files

Issue #3159192 by heddn: Hide from translation system from unsupported entities.

parent 555054cf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ Metatag 8.x-1.x-dev, xxxx-xx-xx
#3135365 by novchuk.v, mero.S: Replace assertions involving calls to empty()
  with assertEmpty()/assertNotEmpty()/assertArrayNotHasKey().
#2782797 by DamienMcKenna: Added missing $defaultTheme test variable.
#3159192 by heddn: Hide from translation system from unsupported entities.


Metatag 8.x-1.14, 2020-08-11
+1 −1
Original line number Diff line number Diff line
@@ -571,7 +571,7 @@ function metatag_entity_base_field_info(EntityTypeInterface $entity_type) {
  // there's no point in supporting it.
  if (!empty($base_table) && $canonical_template_exists && !in_array($original_class, $classes_to_skip)) {
    $fields['metatag'] = BaseFieldDefinition::create('map')
      ->setLabel(t('Metatags'))
      ->setLabel(t('Metatags (Hidden field for JSON support)'))
      ->setDescription(t('The meta tags for the entity.'))
      ->setClass('\Drupal\metatag\Plugin\Field\MetatagEntityFieldItemList')
      ->setComputed(TRUE)