You are here

public function BootstrapLayout::hasChanged in Bootstrap Layouts 8.5

Same name and namespace in other branches
  1. 8.4 src/BootstrapLayout.php \Drupal\bootstrap_layouts\BootstrapLayout::hasChanged()

Indicates whether or not the layout data has changed.

Return value

bool TRUE or FALSE

File

src/BootstrapLayout.php, line 55

Class

BootstrapLayout
Class BootstrapLayout.

Namespace

Drupal\bootstrap_layouts

Code

public function hasChanged() {
  return !!DiffArray::diffAssocRecursive($this->original, $this->data);
}