Alert

Alert content type is used for adding alerts on the site.

Fields

NameMachine nameRequiredDescription
Titledrupal’s defaultYesTitle of the activity item.
Background colorfield_alert_colorYesReference field for choosing the term from “Color” vocabulary.
Text colorfield_alert_text_colorYesReference field for choosing the term from “Color” vocabulary.
Icon colorfield_alert_icon_colorNoReference field for choosing the term from “Color” vocabulary. Description for field: “Leave empty to hide icon.”
Placementfield_alert_placeYesSelect list field (singular) for choosing place:
  • Header
  • Footer
Descriptionfield_alert_descriptionYesTextarea for the description/body with WYSIWYG, without summary.
Linkfield_alert_linkNoInternal or external link.
Referencefield_alert_belongsNoEntity reference with autocomplete to any node. Description for field: “Reference to node (branch, camp, landing page and etc.), where local alert will be displayed.”

URL pattern

Content type is using following pattern: /alert/[node:title].

Last modified October 3, 2023: Update Alert.md (a8acef74e)