By admin , 9 December, 2023 Tags database if (\Drupal::database()->schema()->tableExists('my_table')) { // Do something. }