• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Yoast / Yoast-SEO-for-TYPO3 / 21916594510

11 Feb 2026 05:54PM UTC coverage: 10.09% (+8.8%) from 1.275%
21916594510

push

github

RinyVT
[FEATURE] Version 12.0.0, added v14 support, removed v11 support including php8.0 and php8.1, rewrote backend javascript functionality to typescript and webcomponents

28 of 550 new or added lines in 53 files covered. (5.09%)

33 existing lines in 21 files now uncovered.

268 of 2656 relevant lines covered (10.09%)

0.27 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/Classes/Widgets/AbstractPageOverviewWidget.php
1
<?php
2

3
/**
4
 * This file is part of the "yoast_seo" extension for TYPO3 CMS.
5
 *
6
 * For the full copyright and license information, please read the
7
 * LICENSE.txt file that was distributed with this source code.
8
 */
9

10
declare(strict_types=1);
11

12
namespace YoastSeoForTypo3\YoastSeo\Widgets;
13

14
use Psr\Http\Message\ServerRequestInterface;
15
use TYPO3\CMS\Backend\View\BackendViewFactory;
16
use TYPO3\CMS\Core\View\ViewInterface;
17
use TYPO3\CMS\Dashboard\Widgets\RequestAwareWidgetInterface;
18
use TYPO3\CMS\Dashboard\Widgets\WidgetConfigurationInterface;
19
use TYPO3\CMS\Dashboard\Widgets\WidgetInterface;
20
use TYPO3\CMS\Fluid\View\StandaloneView;
21
use YoastSeoForTypo3\YoastSeo\Widgets\Provider\PageProviderInterface;
22

23
abstract class AbstractPageOverviewWidget implements WidgetInterface, RequestAwareWidgetInterface
24
{
25
    protected ServerRequestInterface $request;
26
    /** @var array|string[] */
27
    protected array $options;
28

29
    /**
30
     * @param array|string[] $options
31
     */
32
    public function __construct(
33
        protected WidgetConfigurationInterface $configuration,
34
        protected PageProviderInterface $dataProvider,
35
        protected BackendViewFactory $view,
36
        array $options = []
37
    ) {
NEW
38
        $this->options = array_merge(
×
NEW
39
            [
×
NEW
40
                'template' => 'Widget/ExtendedListWidget',
×
NEW
41
            ],
×
NEW
42
            $options
×
NEW
43
        );
×
44
    }
45

46
    public function setRequest(ServerRequestInterface $request): void
47
    {
NEW
48
        $this->request = $request;
×
49
    }
50

51
    public function renderWidgetContent(): string
52
    {
NEW
53
        $view = $this->view->create($this->request, ['typo3/cms-dashboard', 'yoast-seo-for-typo3/yoast_seo']);
×
NEW
54
        $this->assignToView($view);
×
NEW
55
        return $view->render($this->options['template']);
×
56
    }
57

58
    abstract protected function assignToView(ViewInterface|StandaloneView $view): void;
59
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc