{% set inheritedFrom = seomatic.helper.findInheritableBundle(parentBundles, "newsPublicationName", "metaSitemapVars") %} {% set hasInheritableValues = inheritedFrom is not null %} {% set additionalVars = { 'isInherited': seomatic.helper.isInherited(metaSitemapVars, "newsPublicationName"), 'fieldLabel': "News Publication Name"|t("seomatic"), 'settingName': 'newsPublicationName', 'labelFor': 'metaSitemapVars-newsPublicationName', 'overrideNamespace': 'metaSitemapVars' } %} {% embed "seomatic/settings/_includes/fields/_inheritableField.twig" with additionalVars %} {% macro newsPublicationNameField(metaSitemapVars, suffix) %} {% set disabled = suffix|length > 0 %}