Hello @DamienMcKenna,

There is one small syntax problem in function form(array $element = array()) (Line 163 of src\Plugin\metatag\Tag\MetaNameBase.php)

I think this "if" condition is not perfect:

// Optional handling for images.
if (!empty($this->type() === 'image')) {

This should be:

// Optional handling for images.
if ((!empty($this->type())) && ($this->type() === 'image')) {

I have created a patch file, please review it and provide your thoughts on this.

Thank you,

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ashwin.shaharkar created an issue. See original summary.

ashwinsh’s picture

Issue summary: View changes

DamienMcKenna’s picture

Status: Needs review » Fixed
Issue tags: +govcon2016
Parent issue: » #2741339: Plan for Metatag 8.x-1.0-beta10 release

Committed. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.