diff --git a/core/modules/options/options.module b/core/modules/options/options.module
index 71bbf33..120bbe6 100644
--- a/core/modules/options/options.module
+++ b/core/modules/options/options.module
@@ -65,7 +65,7 @@ function options_field_config_delete(FieldConfigInterface $field) {
 function options_allowed_values(FieldDefinitionInterface $field_definition, EntityInterface $entity) {
   $allowed_values = &drupal_static(__FUNCTION__, array());
 
-  $cache_id = implode(':', array($entity->getEntityTypeId(), $entity->bundle(), $field_definition->getName()));
+  $cache_id = implode(':', array($field_definition->getTargetEntityTypeId(), $field_definition->getBundle(), $field_definition->getName()));
   if (!isset($allowed_values[$cache_id])) {
     $function = $field_definition->getSetting('allowed_values_function');
     // If $cacheable is FALSE, then the allowed values are not statically
