public function StorageComparerInterface::hasChanges

Checks if there are any operations with changes to process.

Until the changelist has been calculated this will always be FALSE.

Parameters

array $ops: The operations to check for changes. Defaults to all operations, i.e. array('delete', 'create', 'update').

Return value

bool TRUE if there are changes to process and FALSE if not.

See also

\Drupal\Core\Config\StorageComparerInterface::createChangelist().

1 method overrides StorageComparerInterface::hasChanges()
StorageComparer::hasChanges in drupal/core/lib/Drupal/Core/Config/StorageComparer.php
Checks if there are any operations with changes to process.

File

drupal/core/lib/Drupal/Core/Config/StorageComparerInterface.php, line 118
Contains \Drupal\Core\Config\StorageComparerInterface.

Class

StorageComparerInterface
Defines an interface for comparison of configuration storage objects.

Namespace

Drupal\Core\Config

Code

public function hasChanges($ops = array(
  'delete',
  'create',
  'update',
));