where to put base_table in drupal 8 module

Hello,

I'm using the Content_entity_example from the awsome https://www.drupal.org/project/examples module. I have created an alias in the settings file to `my_other_DB` Where in the code should I change the base_table `my_other_DB.my_table` and can I just use dot notation to specify the other DB and table?

Thanks

using a custom entity within an custom other entity

Hi, :)

So I created a module that creates a library entity with category (dewey classification), title, author date borrowed etc.. on one site and a module that creates an entity of subscribers on the other side. Now I will like to call subscribers_entities from the subscriber entitymodule to the library_entity module. 

I'm also wondering if it was possible to create several entities within a module of if it's better to separate them (like I'm currently doing). 

Thanks

Drupal - Content link default language

I encounter a problem with my installation of drupal 8.6.

All my taxonomies are displayed in the language of the site but some display their link "read more" in the default language of the site and not the one selected.

For example : You take the last of the list here rjluxefurniture.be/en/collections

I tested by updating drupal in 8.7 but no change.

Any ideas ?

Thanks =)

Drupal 7 to Drupal 8 migration - Comments did not migrate

I have done Drupal 7 to Drupal 8 migration via drush i.e 

drush migrate-upgrade --legacy-db-url=mysql://user:password@server/db --legacy-db-prefix=drupal_ --legacy-root=http://example.com --configure-only 

drush migrate-import --all 

(ref: https://www.drupal.org/docs/8/upgrade/upgrade-using-drush)

Drupal 8 was a fresh instance before I ran above migration commands.

Form with AJAX 'add/remove' buttons

I created a form with ajax buttons to add / remove a person.

How to scroll a modal window on Bootstrap ?

I have a site with Drupal 8 and Bootstrap 3

I created a custom module to display a page in a modal window. The page contains a lot of text and I want it to have a scrollbar on the modal window.

How can I do this ? Here is the code of my module and the information I found :

https://getbootstrap.com/docs/4.3/components/modal/#scrolling-long-content

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x