diff --git a/src/Config/ConfigReadonlyStorage.php b/src/Config/ConfigReadonlyStorage.php index 450c427..43934f5 100644 --- a/src/Config/ConfigReadonlyStorage.php +++ b/src/Config/ConfigReadonlyStorage.php @@ -23,6 +23,13 @@ class ConfigReadonlyStorage extends CachedStorage { use ConfigReadonlyWhitelistTrait; /** + * The module handler. + * + * @var \Drupal\Core\Extension\ModuleHandlerInterface + */ + protected $moduleHandler; + + /** * The used lock backend instance. * * @var \Drupal\Core\Lock\LockBackendInterface diff --git a/src/ConfigReadonlyWhitelistTrait.php b/src/ConfigReadonlyWhitelistTrait.php index 0327b5c..6f6151a 100644 --- a/src/ConfigReadonlyWhitelistTrait.php +++ b/src/ConfigReadonlyWhitelistTrait.php @@ -10,13 +10,6 @@ namespace Drupal\config_readonly; trait ConfigReadonlyWhitelistTrait { /** - * The module handler interface. - * - * @var \Drupal\Core\Extension\ModuleHandlerInterface - */ - protected $moduleHandler; - - /** * An array to store the whitelist ignore patterns. * * @var string[]