Durpal 8 on install new module, insert data in new created table I created a new table into the new schema and I want to insert default data into it. 
How can I do this in the module.install file ?
To run tasks when your module is installed, use hook_install(), e.g.

function module_install() {
  \Database::getConnection()-&gt;insert(...)-&gt;execute();
}