The current Views integration code (via #1151936: Ensure Metatag works OOTB using Views to display Drupal core's entities) could potentially go through a lot of effort if the current entity is unsupported, so metatag_entity_supports_metatags() should be executed during the loop.

CommentFileSizeAuthor
#1 metatag-n1842052.patch969 bytesDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
969 bytes

This patch adds a quick call to metatag_entity_supports_metatags() before going any further.

DamienMcKenna’s picture

Status: Needs review » Fixed

Committed.

DamienMcKenna’s picture

Status: Fixed » Closed (fixed)

Version 7.x-1.0-beta3 has been released and includes this work. Am closing this issue in an effort to keep the issue queue clean.