We can use \Drupal::database()->insert() instead of db_insert()

CommentFileSizeAuthor
spin-71-1566844205.patch437 bytespifagor
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pifagor created an issue. See original summary.

bkelly’s picture

Assigned: Unassigned » bkelly

Hi @pifagor -

Thank you for the contribution, it looks promising and will help to future-proof the module for Drupal 9.

I'll dig in deeper when I get a chance.

Thank you for your time.

- Bill Kelly

alex_optim’s picture

Status: Needs review » Reviewed & tested by the community

Looks correct.