summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-02-18 23:05:59 +0000
committerAlex Pott2014-02-18 23:05:59 +0000
commit8b40554c5aa45ecf6dd11418ee8d48b379ff2a34 (patch)
treee5764605e49bd7870a74033a37fcdc1b609efc72
parentcdb3895b8f711c12757ce2794501099c6916bea0 (diff)
Issue #2119905 followup by damiankloip: Provide @ConfigEntityType and @ContentEntityType to have better defaults.8.0-alpha9
-rw-r--r--core/modules/contact/lib/Drupal/contact/CategoryStorageController.php17
-rw-r--r--core/modules/contact/lib/Drupal/contact/Entity/Category.php1
-rw-r--r--core/modules/entity/lib/Drupal/entity/Entity/EntityViewDisplay.php3
3 files changed, 0 insertions, 21 deletions
diff --git a/core/modules/contact/lib/Drupal/contact/CategoryStorageController.php b/core/modules/contact/lib/Drupal/contact/CategoryStorageController.php
deleted file mode 100644
index 90b74db..0000000
--- a/core/modules/contact/lib/Drupal/contact/CategoryStorageController.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-
-/**
- * @file
- * Contains Drupal\contact\CategoryStorageController.
- */
-
-namespace Drupal\contact;
-
-use Drupal\Core\Config\Entity\ConfigStorageController;
-
-/**
- * Controller class for contact categories.
- */
-class CategoryStorageController extends ConfigStorageController {
-
-}
diff --git a/core/modules/contact/lib/Drupal/contact/Entity/Category.php b/core/modules/contact/lib/Drupal/contact/Entity/Category.php
index 4b12fc5..e02994e 100644
--- a/core/modules/contact/lib/Drupal/contact/Entity/Category.php
+++ b/core/modules/contact/lib/Drupal/contact/Entity/Category.php
@@ -18,7 +18,6 @@ use Drupal\contact\CategoryInterface;
* id = "contact_category",
* label = @Translation("Contact category"),
* controllers = {
- * "storage" = "Drupal\contact\CategoryStorageController",
* "access" = "Drupal\contact\CategoryAccessController",
* "list" = "Drupal\contact\CategoryListController",
* "form" = {
diff --git a/core/modules/entity/lib/Drupal/entity/Entity/EntityViewDisplay.php b/core/modules/entity/lib/Drupal/entity/Entity/EntityViewDisplay.php
index 20c63bd..edb9a7f 100644
--- a/core/modules/entity/lib/Drupal/entity/Entity/EntityViewDisplay.php
+++ b/core/modules/entity/lib/Drupal/entity/Entity/EntityViewDisplay.php
@@ -19,9 +19,6 @@ use Drupal\entity\EntityDisplayBase;
* @ConfigEntityType(
* id = "entity_view_display",
* label = @Translation("Entity view display"),
- * controllers = {
- * "storage" = "Drupal\Core\Config\Entity\ConfigStorageController"
- * },
* config_prefix = "entity.view_display",
* entity_keys = {
* "id" = "id",