You are here

tmgmt_config.module in Translation Management Tool 8

Hooks for the TMGMT Config source module.

File

sources/tmgmt_config/tmgmt_config.module
View source
<?php

/**
 * @file
 * Hooks for the TMGMT Config source module.
 */
use Drupal\tmgmt_config\WebformConfigProcessor;

/**
 * Implements hook_config_schema_info_alter().
 */
function tmgmt_config_config_schema_info_alter(&$definitions) {
  if (isset($definitions['webform.webform.*'])) {
    $definitions['webform.webform.*']['tmgmt_config_processor'] = WebformConfigProcessor::class;
  }
}