public ConfigManagerInterface::diff(StorageInterface $source_storage, StorageInterface $target_storage, $source_name, $target_name = NULL, $collection = StorageInterface::DEFAULT_COLLECTION)
Creates a Diff object using the config data from the two storages.
@todo Make renderer injectable
\Drupal\Core\Config\StorageInterface $source_storage: The storage to diff configuration from.
\Drupal\Core\Config\StorageInterface $target_storage: The storage to diff configuration to.
string $source_name: The name of the configuration object in the source storage to diff.
string $target_name: (optional) The name of the configuration object in the target storage. If omitted, the source name is used.
string $collection: (optional) The configuration collection name. Defaults to the default collection.
\Drupal\Component\Diff\Diff A Diff object using the config data from the two storages.
\Drupal\Core\Diff\DiffFormatter
public function diff(StorageInterface $source_storage, StorageInterface $target_storage, $source_name, $target_name = NULL, $collection = StorageInterface::DEFAULT_COLLECTION);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!ConfigManagerInterface.php/function/ConfigManagerInterface::diff/8.1.x