localgovdrupal / localgov_alert_banner
LocalGovDrupal distribution: Alert banner.
Installs: 69 743
Dependents: 2
Suggesters: 0
Security: 0
Stars: 4
Watchers: 10
Forks: 8
Open Issues: 33
Type:drupal-module
Requires
- drupal/condition_field: ^2.0
- drupal/core: ^10.0 || ^11.0
Requires (Dev)
- drupal/group: ^3.2
- drupal/scheduled_transitions: ^2.1
Suggests
- drupal/group: For Group integration.
- drupal/scheduled_transitions: Gives the ability to schedule the publishing and unpublishing of alert banners
- localgovdrupal/localgov_core: Required by localgov_alert_banner_full_page sub module for localgov_media.
- 1.x-dev
- 1.8.x-dev
- 1.8.1
- 1.8.0
- 1.7.10
- 1.7.9
- 1.7.8
- 1.7.7
- 1.7.6
- 1.7.5
- 1.7.4
- 1.7.3
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.7
- 1.5.6
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.1
- 1.0.0
- 1.0.0-alpha5
- 1.0.0-alpha4
- 1.0.0-alpha3
- 1.0.0-alpha2
- 1.0.0-alpha1
- dev-release-1.x
- dev-fix/1.x-388-emergency-publisher-role
- dev-feature/201-remove-jquery
- dev-test/only-lint-changed-files
- dev-feature/378/remove-polyfills-and-es6
- dev-feature/1.8.x-show-type-of-alert
- dev-feature/eslint-csslint-testing
- dev-fix/345-add-banner-type-accessible-name
- dev-fix/359/full-page
- dev-1-8-refactor
- dev-1.8.refactor
- dev-fix/1.x/fix-deprecations
- dev-fix/271-js-cookie-deprecation
- dev-feature/backend-cookie-checks
- dev-fix/perf-cls
- dev-test-action-1
- dev-remove-suggested-dependencies
- dev-hotfix/245_alert_banner_with_empty_link_text_should_show_more_information_but_nothing_shows
- dev-245_alert_banner_with_empty_link_text_should_show_more_information_but_nothing_shows
- dev-fix/1.x/coding-standards
- dev-andybroomfield-patch-1
- dev-test/fail-accesscheck
- dev-fix/230-maintainers
- dev-fix/227-oliveo-alertbanner-body-text
- dev-fix/full-page-alert
- dev-feature/207-drupal-10
- dev-fix/205-hide-visibility-output
- dev-fix/203-non-existent-permissions
- dev-feature/197-use-js-cookie
- dev-fix/198-php8-deprectation-entity-delete-form
- dev-fix/146-remove-role-alert
- dev-fix/153-default-weight--100
- dev-fix/160-default-to-not-unpublish-other-banners
- dev-feature/191-update-tests-specific-to-repo
- dev-fix/189-no-remove-hide-link-for-fullpage-banner
- dev-fix/remove-1.x-tests-1
- dev-test/tests-patch
- dev-fix/remove-1.x-tests
- dev-fix/151-anon-permission
- dev-feature/update-github-actions
- dev-fix/177-hide-button-aria-label
- dev-feature/175-scarfolk
- dev-feature/full-page-alert
- dev-fix/169-revisions-page-warning
- dev-feature/alternative-scheduler
- dev-feature/core-288a-use-base-theme
- dev-stephen-cox-patch-1
- dev-feature/no-flush-all-cache
- dev-fix/147-link-no-title
- dev-hotfix/1.x-bem-coding-standard
- dev-fix/154-cache-context-conditons
- dev-fix/150-cache-tags
- dev-feature/115-schduler-support
- dev-fix/typo-in-cache-context-name
- dev-fix/143-content-without
- dev-fix/93-remove-legacy-routesubscriber
- dev-feature/conditions
- dev-122-update-to-drupal-practices
- dev-fix/pre-alpha5
This package is auto-updated.
Last update: 2024-10-16 09:27:47 UTC
README
LocalGovDrupal Alert banner module, adds a global alert banner block and entity.
Order of alerts
In terms of order, it should be Notable Death -> Major -> Minor -> Announcement and then in date updated order.
Scheduling alert banners
Scheduling the publishing and unpublishing of alert banners is done using the Scheduled Transitions module. Scheduling is not enabled by default. To turn it on just enable the Scheduled Transitions module.
Disable provided CSS.
This module will provide default CSS colours so it can be used out the box. If you wish to theme these yourself, you can disable the provided CSS with the following code in your themes THEMENAME.info.yml
file:
libraries-override: localgov_alert_banner/alert_banner: css: component: css/localgov-alert-banner.css: false
Maintainers
Current maintainers: