Commit b5ac7434 authored by webchick's avatar webchick

Issue #2220259 by Xano, fago: DefaultPluginManager::getDefinition() does not match the interface.

parent 28f177cd
......@@ -173,7 +173,6 @@ public function getDefinition($plugin_id) {
if (isset($this->definitions[$plugin_id])) {
return $this->definitions[$plugin_id];
}
return array();
}
/**
......
......@@ -52,7 +52,7 @@ public static function propertyDefinitions(FieldDefinitionInterface $field_defin
$properties['value'] = DataDefinition::create('datetime_iso8601')
->setLabel(t('Date value'));
$properties['date'] = DataDefinition::create('datetime_computed')
$properties['date'] = DataDefinition::create('any')
->setLabel(t('Computed date'))
->setDescription(t('The computed DateTime object.'))
->setComputed(TRUE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment