Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
AnnounceFetcher::validateUrl function core/modules/announcements_feed/src/AnnounceFetcher.php Check whether a link is controlled by D.O.
AnnounceFetcher::__construct function core/modules/announcements_feed/src/AnnounceFetcher.php Construct an AnnounceFetcher service.
AnnounceFetcherTest class core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherTest.php @coversDefaultClass \Drupal\announcements_feed\AnnounceFetcher
AnnounceFetcherTest.php file core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherTest.php
AnnounceFetcherTest::fetchFeedItems function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherTest.php Gets the announcements from the 'announce.fetcher' service.
AnnounceFetcherTest::providerShowAnnouncements function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherTest.php Data provider for testShowAnnouncements().
AnnounceFetcherTest::setFeedItems function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherTest.php Sets the feed items to be returned for the test.
AnnounceFetcherTest::setUp function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherTest.php
AnnounceFetcherTest::testFeedFields function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherTest.php Tests feed fields.
AnnounceFetcherTest::testShowAnnouncements function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherTest.php Tests announcement that should be displayed.
AnnounceFetcherUnitTest class core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php Simple test to ensure that asserts pass.
AnnounceFetcherUnitTest.php file core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php
AnnounceFetcherUnitTest::$fetcher property core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php The Fetcher service object.
AnnounceFetcherUnitTest::setUp function core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php
AnnounceFetcherUnitTest::testValidateUrl function core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php Test the ValidateUrl() method.
AnnounceFetcherUnitTest::urlProvider function core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php Data for the testValidateUrl.
AnnounceFetcherUserTest class core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php @coversDefaultClass \Drupal\announcements_feed\AnnounceFetcher
AnnounceFetcherUserTest.php file core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php
AnnounceFetcherUserTest::$modules property core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php Modules to install.
AnnounceFetcherUserTest::providerShowAnnouncements function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php Data provider for testAllAnnouncements().
AnnounceFetcherUserTest::providerShowUpdatedAnnouncements function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php Data provider for testAllAnnouncements().
AnnounceFetcherUserTest::setFeedItems function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php Sets the feed items to be returned for the test.
AnnounceFetcherUserTest::setUp function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php
AnnounceFetcherUserTest::testAllAnnouncementsFirst function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php Tests testAllAnnouncements should get all announcements.
Announcement class core/modules/announcements_feed/src/Announcement.php Object containing a single announcement from the feed.
Announcement.php file core/modules/announcements_feed/src/Announcement.php
Announcement::getContent function core/modules/announcements_feed/src/Announcement.php Returns the content of the announcement with no markup.
Announcement::getDatePublishedTimestamp function core/modules/announcements_feed/src/Announcement.php Gets the published date in timestamp format.
Announcement::__construct function core/modules/announcements_feed/src/Announcement.php Construct an Announcement object.
announcements-feed-admin.html.twig file core/modules/announcements_feed/templates/announcements-feed-admin.html.twig Template file for the theming of announcement_feed admin page.
announcements-feed-admin.html.twig file core/themes/stable9/templates/announcements_feed/announcements-feed-admin.html.twig Template file for the theming of announcement_feed admin page.
announcements-feed.html.twig file core/themes/stable9/templates/announcements_feed/announcements-feed.html.twig Template file for the theming of announcement_feed off-canvas dialog.
announcements-feed.html.twig file core/modules/announcements_feed/templates/announcements-feed.html.twig Template file for the theming of announcement_feed off-canvas dialog.
announcements.html.twig file core/modules/announcements_feed/templates/announcements.html.twig {% if count %}
<nav class="announcements">
<ul>
{% if featured|length %}
{% for announcement in featured %}
<li class="announcement announcement--featured" data-drupal-featured>
AnnouncementsCacheTest class core/modules/announcements_feed/tests/src/Functional/AnnouncementsCacheTest.php Defines a class for testing pages are still cacheable with dynamic page cache.
AnnouncementsCacheTest.php file core/modules/announcements_feed/tests/src/Functional/AnnouncementsCacheTest.php
AnnouncementsCacheTest::$defaultTheme property core/modules/announcements_feed/tests/src/Functional/AnnouncementsCacheTest.php The theme to install as the default for testing.
AnnouncementsCacheTest::$modules property core/modules/announcements_feed/tests/src/Functional/AnnouncementsCacheTest.php Modules to install.
AnnouncementsCacheTest::testDynamicPageCache function core/modules/announcements_feed/tests/src/Functional/AnnouncementsCacheTest.php Tests dynamic page cache.
AnnouncementsFeedHooks class core/modules/announcements_feed/src/Hook/AnnouncementsFeedHooks.php Hook implementations for announcements_feed.
AnnouncementsFeedHooks.php file core/modules/announcements_feed/src/Hook/AnnouncementsFeedHooks.php
AnnouncementsFeedHooks::cron function core/modules/announcements_feed/src/Hook/AnnouncementsFeedHooks.php Implements hook_cron().
AnnouncementsFeedHooks::help function core/modules/announcements_feed/src/Hook/AnnouncementsFeedHooks.php Implements hook_help().
AnnouncementsFeedHooks::theme function core/modules/announcements_feed/src/Hook/AnnouncementsFeedHooks.php Implements hook_theme().
AnnouncementsFeedHooks::toolbar function core/modules/announcements_feed/src/Hook/AnnouncementsFeedHooks.php Implements hook_toolbar().
AnnouncementsFeedHooks::toolbarAlter function core/modules/announcements_feed/src/Hook/AnnouncementsFeedHooks.php Implements hook_toolbar_alter().
announcements_feed.dialog.css file core/modules/announcements_feed/css/announcements_feed.dialog.css Styles for the announcements feed within the off-canvas dialog.
announcements_feed.dialog.css file core/themes/stable9/css/announcements_feed/announcements_feed.dialog.css #drupal-off-canvas-wrapper .announcements {
padding-block-start: var(--off-canvas-padding);
}

#drupal-off-canvas-wrapper .announcements ul {
margin: 0;
padding-inline-start: 0;
list-style: none;
}

#drupal-off-canvas-wrapper .announcement {
announcements_feed.dialog.pcss.css file core/modules/announcements_feed/css/announcements_feed.dialog.pcss.css Styles for the announcements feed within the off-canvas dialog.
announcements_feed.fetcher service core/modules/announcements_feed/announcements_feed.services.yml Drupal\announcements_feed\AnnounceFetcher

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.