This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Focus Trap | |
* | |
* This script provides a focus trap functionality for modal dialogs. | |
* | |
* @usage | |
* To use this focus trap, call `focusTrap.init()` with the selector of the modal dialog element. | |
* You can also provide an optional selector for a close button within the modal dialog. | |
* This will ensure that when the modal dialog is open, the focus remains within the dialog, | |
* cycling through the focusable elements and preventing focus from leaving the dialog. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types = 1); | |
namespace Brainworxx\NewsSitemap; | |
use TYPO3\CMS\Core\Database\ConnectionPool; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
use TYPO3\CMS\Seo\XmlSitemap\Exception\MissingConfigurationException; | |
use TYPO3\CMS\Seo\XmlSitemap\RecordsXmlSitemapDataProvider; |