| @@ -10,17 +10,17 @@ | ||
| 10 | 10 | class TaxonomyTermExtension extends DataExtension | 
| 11 | 11 |  { | 
| 12 | 12 | |
| 13 | - private static $api_access = true; | |
| 13 | + private static $api_access = true; | |
| 14 | 14 | |
| 15 | - private static $belongs_many_many = array( | |
| 16 | - 'Pages' => BasePage::class | |
| 17 | - ); | |
| 15 | + private static $belongs_many_many = array( | |
| 16 | + 'Pages' => BasePage::class | |
| 17 | + ); | |
| 18 | 18 | |
| 19 | - public function updateCMSFields(FieldList $fields) | |
| 20 | -    { | |
| 21 | -        $pagesGridField = $fields->dataFieldByName('Pages'); | |
| 22 | -        if ($pagesGridField) { | |
| 23 | - $pagesGridField->getConfig()->removeComponentsByType(GridFieldAddNewButton::class); | |
| 24 | - } | |
| 25 | - } | |
| 19 | + public function updateCMSFields(FieldList $fields) | |
| 20 | +	{ | |
| 21 | +		$pagesGridField = $fields->dataFieldByName('Pages'); | |
| 22 | +		if ($pagesGridField) { | |
| 23 | + $pagesGridField->getConfig()->removeComponentsByType(GridFieldAddNewButton::class); | |
| 24 | + } | |
| 25 | + } | |
| 26 | 26 | } |