2012-03-08 10:36:12 +01:00
|
|
|
<?php
|
2016-07-01 04:37:50 +02:00
|
|
|
|
2024-08-20 06:14:03 +02:00
|
|
|
use SilverStripe\Core\Extension;
|
|
|
|
|
|
|
|
class FrameworkTestSiteTreeExtension extends Extension
|
2015-12-17 21:20:49 +01:00
|
|
|
{
|
|
|
|
private static $has_one = array('RelationFieldsTestPage' => 'RelationFieldsTestPage');
|
|
|
|
private static $belongs_many_many = array('RelationFieldsTestPages' => 'RelationFieldsTestPage');
|
2024-08-15 03:15:22 +02:00
|
|
|
|
|
|
|
private static array $scaffold_cms_fields_settings = [
|
|
|
|
'ignoreFields' => [
|
|
|
|
'RelationFieldsTestPage',
|
|
|
|
],
|
|
|
|
'ignoreRelations' => [
|
|
|
|
'RelationFieldsTestPages',
|
|
|
|
],
|
|
|
|
];
|
2012-04-12 05:04:39 +02:00
|
|
|
}
|