Created
January 15, 2016 18:17
-
-
Save mortenson/f9aa26e4ab61cada0bf0 to your computer and use it in GitHub Desktop.
Is it really that easy?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Plugin/Field/FieldWidget/EntityReference.php b/src/Plugin/Field/FieldWidget/EntityReference.php | |
index 004ab98..935c05f 100644 | |
--- a/src/Plugin/Field/FieldWidget/EntityReference.php | |
+++ b/src/Plugin/Field/FieldWidget/EntityReference.php | |
@@ -33,7 +33,8 @@ use Symfony\Component\EventDispatcher\EventDispatcherInterface; | |
* description = @Translation("Uses entity browser to select entities."), | |
* multiple_values = TRUE, | |
* field_types = { | |
- * "entity_reference" | |
+ * "entity_reference", | |
+ * "image" | |
* } | |
* ) | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment