Skip to content
Snippets Groups Projects
Commit 71c03a9c authored by spokje's avatar spokje
Browse files

\Drupal\Core\Field\Plugin\Field\FieldType\NumericItemBase

parent 093d839e
No related branches found
No related tags found
No related merge requests found
......@@ -64,10 +64,9 @@ public function fieldSettingsForm(array $form, FormStateInterface $form_state) {
* {@inheritdoc}
*/
public function isEmpty() {
if (empty($this->value) && (string) $this->value !== '0') {
return TRUE;
}
return FALSE;
$value = $this->get('value')->getValue();
return empty($value) && (string) $value !== '0';
}
/**
......
......@@ -738,11 +738,6 @@ parameters:
count: 1
path: lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
-
message: "#^Access to an undefined property Drupal\\\\Core\\\\Field\\\\Plugin\\\\Field\\\\FieldType\\\\NumericItemBase\\:\\:\\$value\\.$#"
count: 1
path: lib/Drupal/Core/Field/Plugin/Field/FieldType/NumericItemBase.php
-
message: "#^Access to an undefined property Drupal\\\\Core\\\\FileTransfer\\\\FileTransfer\\:\\:\\$chroot\\.$#"
count: 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment