This answer links to a list of all possible types that can be used with DataDefinition::create(). One plugin that can be used is ItemList. But I can’t find any documentation on how to define what items are on the list. I would have expected something like this: $ status_definition = DataDefinition::create(‘list’) ->setLabel(new TranslatableMarkup(‘Status’)) ->setRequired(TRUE) ->setListItems([Read more