Skip to content
Snippets Groups Projects
Commit 00d7a20f authored by git's avatar git Committed by Sascha Grossenbacher
Browse files

Issue #2584857 by sasanikolic: Remove entity_reference from simplenews.info.yml

parent 4f34a6dd
No related branches found
Tags 8.x-1.0-alpha1
No related merge requests found
......@@ -12,5 +12,4 @@ cardinality: 1
indexes: { }
dependencies:
module:
- entity_reference
- simplenews
......@@ -12,5 +12,4 @@ cardinality: -1
indexes: { }
dependencies:
module:
- entity_reference
- simplenews
......@@ -5,7 +5,6 @@ package: Mail
core: 8.x
dependencies:
- node
- entity_reference
- field
- options
- views
......
......@@ -7,8 +7,8 @@
namespace Drupal\simplenews\Plugin\Field\FieldType;
use Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem;
use Drupal\Core\TypedData\MapDataDefinition;
use \Drupal\entity_reference\ConfigurableEntityReferenceItem;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\Core\TypedData\DataDefinition;
......@@ -37,7 +37,7 @@ use Drupal\Core\TypedData\DataDefinition;
* list_class = "\Drupal\Core\Field\EntityReferenceFieldItemList"
* )
*/
class IssueItem extends ConfigurableEntityReferenceItem {
class IssueItem extends EntityReferenceItem {
/**
* {@inheritdoc}
......@@ -128,4 +128,4 @@ class IssueItem extends ConfigurableEntityReferenceItem {
}
}
\ No newline at end of file
}
......@@ -7,7 +7,7 @@
namespace Drupal\simplenews\Plugin\Field\FieldType;
use \Drupal\entity_reference\ConfigurableEntityReferenceItem;
use Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\Core\TypedData\DataDefinition;
......@@ -34,7 +34,7 @@ use Drupal\Core\TypedData\DataDefinition;
* list_class = "\Drupal\Core\Field\EntityReferenceFieldItemList"
* )
*/
class SubscriptionItem extends ConfigurableEntityReferenceItem {
class SubscriptionItem extends EntityReferenceItem {
/**
* {@inheritdoc}
......@@ -82,4 +82,4 @@ class SubscriptionItem extends ConfigurableEntityReferenceItem {
);
return $schema;
}
}
\ No newline at end of file
}
......@@ -23,7 +23,7 @@ class SimplenewsMonitoringTest extends KernelTestBase {
*
* @var array
*/
public static $modules = array('node', 'system', 'views', 'user', 'field', 'text', 'simplenews', 'monitoring', 'monitoring_test', 'entity_reference');
public static $modules = array('node', 'system', 'views', 'user', 'field', 'text', 'simplenews', 'monitoring', 'monitoring_test');
/**
* Tests individual sensors.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment