commit fb3aeb693f3308119e695da051ae28d746a669c4 Author: fago Date: Mon Mar 18 19:17:36 2013 +0100 Fixed config schema and ViewsUI classes. diff --git a/core/lib/Drupal/Core/Config/Schema/Sequence.php b/core/lib/Drupal/Core/Config/Schema/Sequence.php index 0301b0c..a399583 100644 --- a/core/lib/Drupal/Core/Config/Schema/Sequence.php +++ b/core/lib/Drupal/Core/Config/Schema/Sequence.php @@ -40,4 +40,13 @@ public function getItemDefinition() { return $this->definition['sequence'][0]; } + /** + * Implements \Drupal\Core\TypedData\ListInterface::onChange(). + */ + public function onChange($delta) { + // Notify the parent of changes. + if (isset($this->parent)) { + $this->parent->onChange($this->name); + } + } } diff --git a/core/modules/views/views_ui/lib/Drupal/views_ui/ViewUI.php b/core/modules/views/views_ui/lib/Drupal/views_ui/ViewUI.php index 9114a6a..ff9a0ff 100644 --- a/core/modules/views/views_ui/lib/Drupal/views_ui/ViewUI.php +++ b/core/modules/views/views_ui/lib/Drupal/views_ui/ViewUI.php @@ -1008,7 +1008,7 @@ public function getValue() { /** * Implements \Drupal\Core\TypedData\TypedDataInterface::setValue(). */ - public function setValue($value) { + public function setValue($value, $notify = TRUE) { return $this->__call(__FUNCTION__, func_get_args()); }