Skip the check for hasViewBuilderClass().

parent f50b0d3c
......@@ -679,11 +679,6 @@ function xmlsitemap_is_entity_type_supported(EntityTypeInterface $entity_type) {
return FALSE;
}
// Skip if the entity type is not "viewable"
if (!$entity_type->hasViewBuilderClass()) {
return FALSE;
}
// Skip if the entity type is internal (and not considered public).
if ($entity_type->isInternal()) {
return FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment