@@ -2,13 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace SheaDawson\Blocks\Model; |
| 4 | 4 | |
| 5 | -use SheaDawson\Blocks\Forms\GridFieldConfigBlockManager; |
|
| 6 | 5 | use SilverStripe\ORM\DataObject; |
| 7 | 6 | use SilverStripe\ORM\ArrayLib; |
| 8 | 7 | use SilverStripe\CMS\Model\SiteTree; |
| 9 | 8 | use SilverStripe\Security\PermissionProvider; |
| 10 | 9 | use SilverStripe\Security\Permission; |
| 11 | -use SilverStripe\Security\Group; |
|
| 12 | 10 | use SilverStripe\Forms\TreeMultiselectField; |
| 13 | 11 | use SilverStripe\Forms\CheckboxField; |
| 14 | 12 | use SilverStripe\Forms\HeaderField; |
@@ -89,8 +89,8 @@ |
||
| 89 | 89 | $fields->removeFieldFromTab('Root', 'Blocks'); |
| 90 | 90 | |
| 91 | 91 | /** |
| 92 | - * @todo - change relation editor back to the custom block manager config and fix issues when 'creating' Blocks from a BlockSet. |
|
| 93 | - */ |
|
| 92 | + * @todo - change relation editor back to the custom block manager config and fix issues when 'creating' Blocks from a BlockSet. |
|
| 93 | + */ |
|
| 94 | 94 | $gridConfig = GridFieldConfig_RelationEditor::create(); |
| 95 | 95 | $gridConfig->addComponent(new GridFieldOrderableRows('Sort')); |
| 96 | 96 | $gridConfig->addComponent(new GridFieldDeleteAction()); |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | class Block extends DataObject implements PermissionProvider |
| 35 | 35 | { |
| 36 | 36 | |
| 37 | - private static $table_name = 'Block'; |
|
| 37 | + private static $table_name = 'Block'; |
|
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * @var array |