Module D7 to D8 upgrade (String Overrides)

Hi community,

I'm a student at HoGent studying applied informatics.

For an assignment we have to upgrade a D7 module to D8.

I choose for the module called "string overrides" its a small module to convert strings in an easy way.

I don't have lots of drupal experience but i am willing to learn.

Does anyone have some links or "tips &tricks" to succesfully upgrade this module, or is willing to help on this?

Kind regards,

Alex pieters

Drupal Cache: When $allow_invalid=TRUE is used in get and getMultiple?

Hi all,

I am working on the migration of a dedicated cache implementation module from D7 to D8/9 and I haven’t found yet use cases for $allow_invalid=TRUE when we fetch a value from the caches (when an entry has been deleted, it seems logical to receive a FALSE as answer). And as this parameter is in the API, I suppose that it is used, but when?

If someone could give me some information about the use cases for $allow_invalid=TRUE, it would be really helpful in order to finish this migration :)

Best

RFP Yukon government is looking for vendors for digital service development

The Government of Yukon's eServices for Citizens unit leads the government's digital transformation in public service delivery. We build, maintain and support digital platforms, standards, design systems and more. We partner with departments to deliver faster, simpler and better digital services for citizens.

How to write a javascript program in D8 block

Hello, 

<!DOCTYPE html>
<html>
<body>

<h2>What Can JavaScript Do?</h2>

<p id="demo">JavaScript can change HTML content.</p>

<button type="button" onclick='document.getElementById("demo").innerHTML = "Hello JavaScript!"'>Click Me!</button>

</body>
</html>

How to create a block in D8 using the a above code?

Thanks!

How to structure the custom files in directories?

Hi,

I am developing an intranet for my company, in which data from trucks, customers, trips, drivers, etc. will be managed.

I want to develop this intranet in Drupal 8. I have a lot of experience in Drupal 7, but not in Drupal 8. I will do everything programmed, I will not use Drupal nodes.

I have read about the folder structure of a module in D8. I have read about the structure of a module's folders, but I have some basic doubts about how to structure the custom classes that I will create.

Merge two fields into only one (Migrating D7->D8)

Hi,

I need to migrate two fields of a Content Type in D7 into only one field in D8. The field is a file type (and the files are already migrated).

I have tried with this but I coudn't:

  field_D8:
      plugin: sub_process
      source:
        -  field_D7_1
        -  field_D7_2
      process:
        target_id: fid
        display: display
        description: description

I have already tried with two temporal fields (with plugins sub_process) but I coudn't merge them. Any idea?

Thanks in advance,

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x