mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
6c616f5f7a
* WIP Implement polymorphic sitetree link tracking * Update unit tests Merge SiteTreeTrackedPage into SiteTree directly * Fix bugs and issues * Fix support for file link tracking * Add missing use * Add back deprecated extension * Remove obsolete belongs_many_many * Update deprecations * BUG Ensure non-SiteTree records support link tracking * Safer changed check * Shift file tracking test to assets module * Better check for live stage on versioning * Deprecate method * Cleanup virtualpage * Clear records on delete * Ensure upgrade task occurs on draft * fix linting
23 lines
536 B
PHP
23 lines
536 B
PHP
<?php
|
|
|
|
namespace SilverStripe\CMS\Tests\Model\SiteTreeBrokenLinksTest;
|
|
|
|
use SilverStripe\CMS\Model\SiteTreeLinkTracking;
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\ORM\DataObject;
|
|
|
|
/**
|
|
* @mixin SiteTreeLinkTracking
|
|
* @property string $Content
|
|
* @property string $AnotherContent
|
|
*/
|
|
class NotPageObject extends DataObject implements TestOnly
|
|
{
|
|
private static $table_name = 'SiteTreeLinkTrackingTest_NotPageObject';
|
|
|
|
private static $db = [
|
|
'Content' => 'HTMLText',
|
|
'AnotherContent' => 'HTMLText',
|
|
];
|
|
}
|