PropertyDefinitionAuditor
The info.magnolia.services.seo.audit.impl.PropertyDefinitionAuditor checks to see if a specified node property is defined. Use this auditor for missing properties in pages or content nodes. It doesn’t check the value of the property, use PropertyValidationAuditor
for that. Use I18NPropertyDefinitionAuditor
to check the definition of internationalized properties (properties with language variants).
- Class
-
info.magnolia.services.seo.audit.impl.PropertyDefinitionAuditor
Properties
In addition to the common auditor properties, this auditor can be configured with the following properties:
Property | Description |
---|---|
|
required Defines the node property name to be checked. |
|
optional Determines how a failed audit will be counted:
|
Example
Here is an example from the SEO module. You can find this configuration here: /modules/seo/config/auditManager/auditors/metaKeywordsDefined
.
metaKeywordsDefined:
active: true
class: info.magnolia.services.seo.audit.impl.PropertyDefinitionAuditor
description: Check for defined meta keywords (pre-prod)
propertyName: keywords