๐Ÿ‡ฎ๐Ÿ‡ณIndia @SAHIL ROHILLA01

Account created on 4 August 2022, over 2 years ago
#

Recent comments

๐Ÿ‡ฎ๐Ÿ‡ณIndia SAHIL ROHILLA01

@DamienMcKenna , this issue is only coming in drupal console custom entity (drupal generate:entity:content)
& not in drush custom entity (drush generate module-content-entity), thanks

๐Ÿ‡ฎ๐Ÿ‡ณIndia SAHIL ROHILLA01

@DameinMckenna , yes i had set a default value in meta config but after that no data has been stored in db and after that i have changed default value during node create or update then data was stored in field_metatag column in db and i had written below code for metatag field and i had also tried metatag field using ui but i had found metatag module was not working proper for custom entity

$fields['field_metatag'] = BaseFieldDefinition::create('metatag')
->setLabel(t('Metatag'))
->setDescription(t('The metatag field for your custom entity.'))
->setDisplayOptions('view', [
'label' => 'hidden',
'type' => 'metatag_empty_formatter',
'weight' => 6,
])
->setDisplayOptions('form', [
'type' => 'metatag_default',
'weight' => 6,
])
->setDisplayConfigurable('form', TRUE)
->setTranslatable(TRUE)
->setDisplayConfigurable('view', TRUE);

๐Ÿ‡ฎ๐Ÿ‡ณIndia SAHIL ROHILLA01

SAHIL ROHILLA01 โ†’ made their first commit to this issueโ€™s fork.

๐Ÿ‡ฎ๐Ÿ‡ณIndia SAHIL ROHILLA01

SAHIL ROHILLA01 โ†’ made their first commit to this issueโ€™s fork.

๐Ÿ‡ฎ๐Ÿ‡ณIndia SAHIL ROHILLA01

Create patch for Hook_help().

Production build 0.71.5 2024