xbbcode_standard.install in Extensible BBCode 4.0.x
Same filename and directory in other branches
Update functions for the standard tags.
File
standard/xbbcode_standard.installView source
<?php
/**
* @file
* Update functions for the standard tags.
*/
/**
* Reinstall the tags.
*
* This is safe because module-provided tags are read-only,
* and user customizations require the entity to be copied.
*
* Call this from a new hook_update_N() function after any change.
*/
function _xbbcode_standard_reinstall_tags() {
Drupal::service('config.installer')
->installDefaultConfig('module', 'xbbcode_standard');
}
Functions
Name![]() |
Description |
---|---|
_xbbcode_standard_reinstall_tags | Reinstall the tags. |