ActiveSiteAlertsCacheContext.php |
src/Cache/Context/ActiveSiteAlertsCacheContext.php |
Drupal\site_alert\Cache\Context |
|
CliCommands.php |
src/CliCommands.php |
Drupal\site_alert |
|
CliCommandsInterface.php |
src/CliCommandsInterface.php |
Drupal\site_alert |
|
CliCommandsTest.php |
tests/src/Kernel/CliCommandsTest.php |
Drupal\Tests\site_alert\Kernel |
|
drush.services.yml |
drush.services.yml |
|
drush.services.yml |
DrushCommandsTest.php |
tests/src/Functional/DrushCommandsTest.php |
Drupal\Tests\site_alert\Functional |
|
GetAlerts.php |
src/GetAlerts.php |
Drupal\site_alert |
|
GetAlertsInterface.php |
src/GetAlertsInterface.php |
Drupal\site_alert |
|
GetAlertsTest.php |
tests/src/Kernel/GetAlertsTest.php |
Drupal\Tests\site_alert\Kernel |
|
LICENSE.txt |
LICENSE.txt |
|
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim… |
README.txt |
README.txt |
|
CONTENTS OF THIS FILE
---------------------
* Introduction
* Installation
* Using the module
INTRODUCTION
------------
Current Maintainers: cecrs, acrollet
The Site Alert module is a lightweight solution for allowing
site administrators to… |
site-alert.html.twig |
templates/site-alert.html.twig |
|
<div class="severity-{{ alert.severity }}">
<div class="text">
{{ alert.message }}
</div>
</div> |
SiteAlert.php |
src/Entity/SiteAlert.php |
Drupal\site_alert\Entity |
|
SiteAlertAccessControlHandler.php |
src/SiteAlertAccessControlHandler.php |
Drupal\site_alert |
|
SiteAlertBlock.php |
src/Plugin/Block/SiteAlertBlock.php |
Drupal\site_alert\Plugin\Block |
|
SiteAlertCacheTest.php |
tests/src/Functional/SiteAlertCacheTest.php |
Drupal\Tests\site_alert\Functional |
|
SiteAlertCacheWorkaroundTest.php |
tests/src/FunctionalJavascript/SiteAlertCacheWorkaroundTest.php |
Drupal\Tests\site_alert\FunctionalJavascript |
|
SiteAlertCommands.php |
src/Commands/SiteAlertCommands.php |
Drupal\site_alert\Commands |
|
SiteAlertController.php |
src/Controller/SiteAlertController.php |
Drupal\site_alert\Controller |
|
SiteAlertDeleteForm.php |
src/Entity/Form/SiteAlertDeleteForm.php |
Drupal\site_alert\Entity\Form |
|
SiteAlertForm.php |
src/Entity/Form/SiteAlertForm.php |
Drupal\site_alert\Entity\Form |
|
SiteAlertKernelTestBase.php |
tests/src/Kernel/SiteAlertKernelTestBase.php |
Drupal\Tests\site_alert\Kernel |
|
SiteAlertListBuilder.php |
src/SiteAlertListBuilder.php |
Drupal\site_alert |
|
SiteAlertStorage.php |
src/SiteAlertStorage.php |
Drupal\site_alert |
|
SiteAlertStorageInterface.php |
src/SiteAlertStorageInterface.php |
Drupal\site_alert |
|
SiteAlertStorageTest.php |
tests/src/Kernel/SiteAlertStorageTest.php |
Drupal\Tests\site_alert\Kernel |
|
SiteAlertTestBase.php |
tests/src/Functional/SiteAlertTestBase.php |
Drupal\Tests\site_alert\Functional |
|
SiteAlertTestTrait.php |
tests/src/Traits/SiteAlertTestTrait.php |
Drupal\Tests\site_alert\Traits |
|
SiteAlertTimeoutTest.php |
tests/src/FunctionalJavascript/SiteAlertTimeoutTest.php |
Drupal\Tests\site_alert\FunctionalJavascript |
|
SiteAlertUiTest.php |
tests/src/Functional/SiteAlertUiTest.php |
Drupal\Tests\site_alert\Functional |
|
SiteAlertWebDriverTestBase.php |
tests/src/FunctionalJavascript/SiteAlertWebDriverTestBase.php |
Drupal\Tests\site_alert\FunctionalJavascript |
|
site_alert.css |
css/site_alert.css |
|
.site-alert {
width: 100%;
font-weight: bold;
}
.site-alert .text {
padding: 10px 10px 10px 50px;
margin: 0;
font-size: 18px;
}
.site-alert .text p {
margin: 0;
}
.site-alert .severity-low {
background: #d9edf7;
border: 1px solid… |
site_alert.info.yml |
site_alert.info.yml |
|
site_alert.info.yml |
site_alert.libraries.yml |
site_alert.libraries.yml |
|
site_alert.libraries.yml |
site_alert.links.action.yml |
site_alert.links.action.yml |
|
site_alert.links.action.yml |
site_alert.links.menu.yml |
site_alert.links.menu.yml |
|
site_alert.links.menu.yml |
site_alert.module |
site_alert.module |
|
Allows admins to display a site-wide alert to all users. |
site_alert.permissions.yml |
site_alert.permissions.yml |
|
site_alert.permissions.yml |
site_alert.routing.yml |
site_alert.routing.yml |
|
site_alert.routing.yml |
site_alert.schema.yml |
config/schema/site_alert.schema.yml |
|
config/schema/site_alert.schema.yml |
site_alert.services.yml |
site_alert.services.yml |
|
site_alert.services.yml |