summaryrefslogtreecommitdiffstats
path: root/core/lib/Drupal/Core/TypedData/TypedData.php
diff options
context:
space:
mode:
authorNathaniel Catchpole2014-07-17 10:07:54 (GMT)
committerNathaniel Catchpole2014-07-17 10:07:54 (GMT)
commita780b52e2cc614bdc78669fa1f277131f2248845 (patch)
tree5f2de41ac5cbba71f5fec7b3498a16339861a068 /core/lib/Drupal/Core/TypedData/TypedData.php
parent518e3c9f7fd8036c17f355cf13b8f71fdb0569d5 (diff)
Issue #2226063 by Berdir, plopesc: Merge ListBooleanItem from options module into BooleanItem.
Diffstat (limited to 'core/lib/Drupal/Core/TypedData/TypedData.php')
-rw-r--r--core/lib/Drupal/Core/TypedData/TypedData.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/lib/Drupal/Core/TypedData/TypedData.php b/core/lib/Drupal/Core/TypedData/TypedData.php
index d8fe50d..1ad3fb8 100644
--- a/core/lib/Drupal/Core/TypedData/TypedData.php
+++ b/core/lib/Drupal/Core/TypedData/TypedData.php
@@ -8,6 +8,7 @@
namespace Drupal\Core\TypedData;
use Drupal\Component\Plugin\PluginInspectionInterface;
+use Drupal\Core\StringTranslation\StringTranslationTrait;
/**
* The abstract base class for typed data.
@@ -19,6 +20,8 @@ use Drupal\Component\Plugin\PluginInspectionInterface;
*/
abstract class TypedData implements TypedDataInterface, PluginInspectionInterface {
+ use StringTranslationTrait;
+
/**
* The data definition.
*