Implements hook_install().
function paragraphs_collection_demo_install() {
_paragraphs_collection_demo_add_background_plugin_field();
// Create and set the demo content on the front page.
$node = _paragraphs_collection_demo_create_demo_article();
\Drupal::configFactory()
->getEditable('system.site')
->set('page.front', '/node/' . $node
->id())
->save();
_paragraphs_collection_demo_create_demo_article_1();
_paragraphs_collection_demo_create_grid_article();
}