Issue #2119905 followup by damiankloip: Provide @ConfigEntityType and @ContentEntityType to have better defaults.
parent
cdb3895b8f
commit
8b40554c5a
|
@ -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 {
|
||||
|
||||
}
|
|
@ -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" = {
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue