diff --git a/Classes/Definition/Factory/TableDefinitionCollectionFactory.php b/Classes/Definition/Factory/TableDefinitionCollectionFactory.php index c63adc37..2322e94a 100644 --- a/Classes/Definition/Factory/TableDefinitionCollectionFactory.php +++ b/Classes/Definition/Factory/TableDefinitionCollectionFactory.php @@ -118,7 +118,10 @@ private function enrichTableDefinition( $newTableDefinition = $newTableDefinition->withParentReferences($references); // If root Content Type is a Content Element, allow the external table to be put in standard pages. foreach ($references as $reference) { - if ($reference->getParentContentType() === ContentType::CONTENT_ELEMENT) { + if ( + $reference->getParentContentType() === ContentType::CONTENT_ELEMENT + || $reference->getParentContentType() === ContentType::PAGE_TYPE + ) { $capability = $newTableDefinition->getCapability(); $capability = $capability->withIgnorePageTypeRestriction(true); $newTableDefinition = $newTableDefinition->withCapability($capability);