This is my context: In Drupal 8.7.5 I've set up an additional database in settings.php that is my old Drupal 7 db so that I can make some targeted migrations from it.
This works in mysql:
select * from file_managed as f
left join field_data_field_person_photo as p on p.field_person_photo_fid = f.fid
where p.entity_id = 500;
Which returns the values I expect. Now, inside Drupal 8 I attempted this:
The Ministry of National Defense (Ministério da Defesa Nacional) is the governing department of the Portuguese central administration whose mission is to formulate, conduct, execute and evaluate the national defense policy within the scope of the powers conferred upon it by the National Defense Law, as well as to ensure and supervise the administration of the Armed Forces and other services, bodies, entities and structures integrated into it.
Some content types map directly 1 to 1 so am using standard Drupal Migrate with no issue.
Other types are more complex as they contain multiple data items in a single field (an example is within a biography and the entire life events are in a single field), these combined fields need to go into a set of paragraphs. I produce the CSV by querying the Drupal 6 database, pulling the field and processing the results into individual fields so I have about 80K lines of
So apparently my client has a requirement where he wants to display Real-time data using Web Sockets.
I searched for the modules for that but it doesn't seem to solve my problem. I found one solution where it requires node.js but that also doesn't suit my use-case. Also I am researching about it for past few days but I am not getting any relevant or useful articles.
the following is my code, I have just pasted the part where I am having trouble:
<?php
namespace Drupal\heritage_bulk_upload\Form;
use Drupal\Core\Form\FormBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Url;
use Drupal\Core\Language\LanguageInterface;
use Drupal\Core\Archiver\Zip;