34c34 < index 954c470..b406f00 100644 --- > index 8c3ded3..b406f00 100644 103,104c103,104 < - $entities = array_filter(\Drupal::entityManager()->getDefinitions(), function (EntityTypeInterface $entity_info) use ($name) { < - return ($config_prefix = $entity_info->getConfigPrefix()) && strpos($name, $config_prefix . '.') === 0; --- > - $entities = array_filter(\Drupal::entityManager()->getDefinitions(), function (EntityTypeInterface $entity_type) use ($name) { > - return ($config_prefix = $entity_type->getConfigPrefix()) && strpos($name, $config_prefix . '.') === 0; 411c411 < index 0000000..29228cf --- > index 0000000..a46e3db 479,480c479,480 < + $entities = array_filter($this->entityManager->getDefinitions(), function (EntityTypeInterface $entity_info) use ($name) { < + return ($config_prefix = $entity_info->getConfigPrefix()) && strpos($name, $config_prefix . '.') === 0; --- > + $entities = array_filter($this->entityManager->getDefinitions(), function (EntityTypeInterface $entity_type) use ($name) { > + return ($config_prefix = $entity_type->getConfigPrefix()) && strpos($name, $config_prefix . '.') === 0;