Regarding hook_entity_delete

Hi,

I am trying to delete a field from a database named my_database. I am trying to use hook_entity_delete, in my .module file. I have tried to use something like :

function mymodule_entity_delete(Drupal\Core\Entity\EntityInterface $entity) {

db_delete('text')
->condition('type', $entity
->getEntityTypeId())
->condition('id', $entity
->id())
->execute();
}

Sub select with hook_views_data

Hi there,

I have two tables both are in a non Drupal MySql database.

Table roster_data definition

How to add a drupal forum user as my mentors

I want to add a forum user who help me fix a problem(which is very important problem) as my mentors, but I don't see any option on my profile page. 

How can I do this? Do I need to be a drupal assocation organization member to do this?

Thank you

How do you use this countdown module?

Ok, I have installed this module

https://www.drupal.org/project/jquery_countdown_timer

but have have no idea how on earth to implement/use it!

Do I have to paste code in a block?

Any help gratefully appreciated!

Language Icons - Responsive Design

Hello,
I am using responsive design for my site (breakpoints, image source sets, percentages instead of "fixed" sizes, etc...). Is there a way to adapt the size of language icons as the viewport's dimension changes? I only see a "fixed" size field in the configuration page of the language icons module. When the viewport gets small, the icons seem to be displayed unreasonably large... 
Thanks for any hints.
H. Stoellinger

Setup the forums for my site

Good afternoon everyone. I have tried searching the site in regards to my topic but can't find what I am looking for, so if this is a repeat of another questions please accept my appologies.

I have just installed Drupal 8.75 on a local host on my system and I am trying to get the forums setup. I have no idea where to start though. I found where I can setup the containers and forums but have no idea whatsoever on how to get a menu link setup or how to get all the containers/forums/topics to display on a page.

Is there a setup guide some where that will help with this?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x