Issue #3464550 by phenaproxima, a.dmitriiev, alexpott, b_sharpe: Create config...
Issue #3464550 by phenaproxima, a.dmitriiev, alexpott, b_sharpe: Create config action which can create an entity for every bundle of another entity type
// If there are no bundle entity types, this plugin should not be usable.
if(empty($plugin_definition['entity_types'])){
thrownewInvalidPluginDefinitionException($plugin_id,"The $plugin_id config action must be restricted to entity types that are bundles of another entity type.");
$this->expectExceptionMessage('The create_for_each_bundle:createForEach config action must be restricted to entity types that are bundles of another entity type.');