ConfigRewriterInterface.php in Configuration Rewrite 8
Same filename and directory in other branches
Namespace
Drupal\config_rewriteFile
src/ConfigRewriterInterface.phpView source
<?php
namespace Drupal\config_rewrite;
/**
* Provides an interface for the ConfigRewriter.
*/
interface ConfigRewriterInterface {
/**
* Extension sub-directory containing default configuration for installation.
*/
public const CONFIG_REWRITE_DIRECTORY = 'config/rewrite';
/**
* Rewrites module config.
*
* @param $module
* The name of a module (without the .module extension).
*/
public function rewriteModuleConfig($module);
/**
* @param array $original_config
* @param array $rewrite
* @param string $config_name
* @param string $extensionName
*
* @return array
*/
public function rewriteConfig($original_config, $rewrite, $config_name, $extensionName);
}
Interfaces
Name | Description |
---|---|
ConfigRewriterInterface | Provides an interface for the ConfigRewriter. |