silverstripe-cms/tests/php/Model/SiteTreeLinkTracking_Extension.php

19 lines
383 B
PHP

<?php
namespace SilverStripe\CMS\Tests\Model;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataExtension;
class SiteTreeLinkTracking_Extension extends DataExtension implements TestOnly
{
protected function updateAnchorsOnPage(&$anchors)
{
array_push(
$anchors,
'extension-anchor',
'extension-anchor-1'
);
}
}