@andileco, thank you.
I am doing some cleanup and then I will add a MR/patch
@danflanagan8, I managed to get it work by moving the sub_process after the condition by referring this https://www.drupal.org/docs/8/api/migrate-api/migrate-process-plugins/mi... →
Thanks a lot!!!
_officePhoneList:
plugin: sub_process
source: positionList
process:
phoneList:
-
plugin: filter_on_condition
source: phoneList
condition:
plugin: has_element
index: type
condition: equals(Office)
-
plugin: sub_process
process:
phoneNum: phoneNum
any suggestion would be really grateful.
@ Thank you for the help, while I am trying your YAML, i am getting following error.
The "has_element" plugin does not exist. Valid plugin IDs for Drupal\migrate\Plugin\MigratePluginManager are:" am I missing something ?
@danflanagan8, please see the attached image, sorry for privacy I hide the user information. following is my working migrate yml which gets the contact number without any condition both phone number and fax.
_phoneList:
plugin: sub_process
source: positionList
process:
phoneList:
plugin: sub_process
source: phoneList
process:
phoneNum: phoneNum
field_phonenum_office:
-
plugin: flatten
source: '@_phoneList'
@bnjmnm in #153 you tried to embed an entity mid-sentence or mid-word, the single paragraph is split into two paragraphs with the embed between them is not a default behavior, there is a issue thread with patch regards to that to preserve the inline entity embed, I am using that patch for our D9 site.
please check this one https://www.drupal.org/project/entity_embed/issues/2640398 ✨ Allow elements to be inline CKEditor Widgets Needs review , if we can make the inline entity embed to work on CKEditor5 would be great.
Just an update to my question; I used following option to override the font size in my theme .js file.
Chart.defaults.font.size = 18;
Chart.defaults.font.weight = 500;
Chart.defaults.font.family = "Open Sans";
Chart.defaults.color = "#000000";
Still trying to figure out how to reduce the width of the each legend.