Checks if there are any operations with changes to process.
Until the changelist has been calculated this will always be FALSE.
array $ops: The operations to check for changes. Defaults to all operations, i.e. array('delete', 'create', 'update').
bool TRUE if there are changes to process and FALSE if not.
Overrides StorageComparerInterface::hasChanges
\Drupal\Core\Config\StorageComparerInterface::createChangelist().
public function hasChanges($ops = array(
'delete',
'create',
'update',
)) {
foreach ($ops as $op) {
if (!empty($this->changelist[$op])) {
return TRUE;
}
}
return FALSE;
}