You are here

xbbcode_standard.install in Extensible BBCode 8.3

Same filename and directory in other branches
  1. 4.0.x standard/xbbcode_standard.install

Update functions for the standard tags.

File

standard/xbbcode_standard.install
View 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

Namesort descending Description
_xbbcode_standard_reinstall_tags Reinstall the tags.