Commit ddce0a3a authored by morsok's avatar morsok Committed by NickWilde

Issue #2701933 by morsok: Declare the main property name

parent b4de3cda
......@@ -22,6 +22,13 @@ use Drupal\Core\TypedData\DataDefinition;
*/
class ColorFieldType extends FieldItemBase {
/**
* {@inheritdoc}
*/
public static function mainPropertyName() {
return 'color';
}
/**
* {@inheritdoc}
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment