Skip to content
Snippets Groups Projects

Issue #3255830: Remove no-op assignment from deriver plugin

Files
2
@@ -37,9 +37,7 @@ class ConfigEntityReferenceSelection extends DeriverBase implements ContainerDer
public function getDerivativeDefinitions($base_plugin_definition) {
foreach ($this->entityTypeManager->getDefinitions() as $entity_type_id => $entity_type) {
if ($entity_type->entityClassImplements(ConfigEntityInterface::class)) {
$entity_type_id = $entity_type->id();
$label = $this->t('Config: Filtered by specific @entity_type', ['@entity_type' => $entity_type->getPluralLabel()]);
$this->derivatives[$entity_type_id] = $base_plugin_definition;
$this->derivatives[$entity_type_id]['entity_types'] = [$entity_type_id];
$this->derivatives[$entity_type_id]['base_plugin_label'] = $label;
Loading