mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
19 lines
383 B
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'
|
|
);
|
|
}
|
|
}
|