summaryrefslogtreecommitdiffstats
path: root/core/modules/breakpoint
diff options
context:
space:
mode:
authorAlex Pott2014-02-18 14:34:10 +0000
committerAlex Pott2014-02-18 14:34:10 +0000
commitb0da3ae64e0fcf18a2c0f6671c3d1b6cf1fccd07 (patch)
tree7c519c3db364da32c963e991a565922d473f3d7b /core/modules/breakpoint
parent4022a54878bf5489a48e177dc5d0ea13e87f16d7 (diff)
Issue #2119905 by damiankloip, tim.plunkett, Berdir: Provide @ConfigEntityType and @ContentEntityType to have better defaults.
Diffstat (limited to 'core/modules/breakpoint')
-rw-r--r--core/modules/breakpoint/lib/Drupal/breakpoint/Entity/Breakpoint.php5
-rw-r--r--core/modules/breakpoint/lib/Drupal/breakpoint/Entity/BreakpointGroup.php5
2 files changed, 2 insertions, 8 deletions
diff --git a/core/modules/breakpoint/lib/Drupal/breakpoint/Entity/Breakpoint.php b/core/modules/breakpoint/lib/Drupal/breakpoint/Entity/Breakpoint.php
index b23f6f6..1d40959 100644
--- a/core/modules/breakpoint/lib/Drupal/breakpoint/Entity/Breakpoint.php
+++ b/core/modules/breakpoint/lib/Drupal/breakpoint/Entity/Breakpoint.php
@@ -18,12 +18,9 @@ use Drupal\breakpoint\InvalidBreakpointMediaQueryException;
/**
* Defines the Breakpoint entity.
*
- * @EntityType(
+ * @ConfigEntityType(
* id = "breakpoint",
* label = @Translation("Breakpoint"),
- * controllers = {
- * "storage" = "Drupal\Core\Config\Entity\ConfigStorageController"
- * },
* config_prefix = "breakpoint.breakpoint",
* entity_keys = {
* "id" = "id",
diff --git a/core/modules/breakpoint/lib/Drupal/breakpoint/Entity/BreakpointGroup.php b/core/modules/breakpoint/lib/Drupal/breakpoint/Entity/BreakpointGroup.php
index f038cb1..2833b67 100644
--- a/core/modules/breakpoint/lib/Drupal/breakpoint/Entity/BreakpointGroup.php
+++ b/core/modules/breakpoint/lib/Drupal/breakpoint/Entity/BreakpointGroup.php
@@ -15,12 +15,9 @@ use Drupal\breakpoint\InvalidBreakpointSourceTypeException;
/**
* Defines the BreakpointGroup entity.
*
- * @EntityType(
+ * @ConfigEntityType(
* id = "breakpoint_group",
* label = @Translation("Breakpoint group"),
- * controllers = {
- * "storage" = "Drupal\Core\Config\Entity\ConfigStorageController"
- * },
* config_prefix = "breakpoint.breakpoint_group",
* entity_keys = {
* "id" = "id",