silverstripe-cms/tests/behat/src/AdditionalAnchorPageExtension.php

14 lines
261 B
PHP

<?php
namespace SilverStripe\CMS\Tests\Behaviour;
use SilverStripe\Core\Extension;
class AdditionalAnchorPageExtension extends Extension
{
public function updateAnchorsOnPage(array &$anchors): void
{
$anchors[] = 'dataobject-anchor';
}
}