From 03656fe458c3343b33de907c454c96a3f797a1f3 Mon Sep 17 00:00:00 2001 From: Moshe Weitzman Date: Fri, 6 Oct 2017 18:56:49 -0400 Subject: [PATCH] Add visibility to 3 methods. --- src/Drupal/Commands/config/ConfigCommands.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Drupal/Commands/config/ConfigCommands.php b/src/Drupal/Commands/config/ConfigCommands.php index 8243ff0137..d4b79d7640 100644 --- a/src/Drupal/Commands/config/ConfigCommands.php +++ b/src/Drupal/Commands/config/ConfigCommands.php @@ -229,7 +229,7 @@ public function status($label = null) * @param string $directory * A configuration directory. */ - function getDirectory($label, $directory = null) + public function getDirectory($label, $directory = null) { // If the user provided a directory, use it. if (!empty($directory)) { @@ -249,7 +249,7 @@ function getDirectory($label, $directory = null) /** * Returns the difference in configuration between active storage and target storage. */ - function getChanges($target_storage) + public function getChanges($target_storage) { /** @var \Drupal\Core\Config\StorageInterface $active_storage */ $active_storage = \Drupal::service('config.storage'); @@ -268,7 +268,7 @@ function getChanges($target_storage) /** * Get storage corresponding to a configuration directory. */ - function getStorage($directory) + public function getStorage($directory) { if ($directory == \config_get_config_directory(CONFIG_SYNC_DIRECTORY)) { return \Drupal::service('config.storage.sync');