Skip to content
Snippets Groups Projects
Commit 4a73b933 authored by spokje's avatar spokje
Browse files

\Drupal\Core\TypedData\TypedData

parent 71c03a9c
No related branches found
No related tags found
No related merge requests found
.idea/
sites/default/files/
sites/default/settings.php
vendor/
sites/simpletest/
.ddev/config.yaml
......@@ -92,14 +92,14 @@ public function getDataDefinition() {
* {@inheritdoc}
*/
public function getValue() {
return $this->value;
return $this->get('value')->getValue();
}
/**
* {@inheritdoc}
*/
public function setValue($value, $notify = TRUE) {
$this->value = $value;
$this->set('value', $value);
// Notify the parent of any changes.
if ($notify && isset($this->parent)) {
$this->parent->onChange($this->name);
......
......@@ -982,11 +982,6 @@ parameters:
count: 1
path: lib/Drupal/Core/TypedData/ListDataDefinition.php
-
message: "#^Access to an undefined property Drupal\\\\Core\\\\TypedData\\\\TypedData\\:\\:\\$value\\.$#"
count: 2
path: lib/Drupal/Core/TypedData/TypedData.php
-
message: "#^Variable \\$cache_key in isset\\(\\) always exists and is not nullable\\.$#"
count: 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment