panopoly_widgets.install in Panopoly Widgets 8.2
Same filename and directory in other branches
Install hooks for Panopoly Widgets.
File
panopoly_widgets.installView source
<?php
/**
* @file
* Install hooks for Panopoly Widgets.
*/
define('PANOPOLY_WIDGETS_MODULE', 'panopoly_widgets');
/**
* Re-import config for panopoly_widgets.
*/
function panopoly_widgets_update_8201() {
\Drupal::service('config.installer')
->installDefaultConfig('module', PANOPOLY_WIDGETS_MODULE);
}
Functions
Name | Description |
---|---|
panopoly_widgets_update_8201 | Re-import config for panopoly_widgets. |
Constants
Name | Description |
---|---|
PANOPOLY_WIDGETS_MODULE | @file Install hooks for Panopoly Widgets. |