This commit is contained in:
Oliver Davies 2025-06-12 02:10:08 +01:00
parent 14cd79a960
commit 0871649c05
3 changed files with 4 additions and 2 deletions

View file

@ -12,7 +12,7 @@ use Drupal\opd_presentations\Entity\Presentation;
*/
function opd_presentations_entity_bundle_info_alter(array &$bundles): void {
if (isset($bundles['node'])) {
$bundles['node']['presentation']['class'] = Presentation::class;
$bundles['node'][Presentation::NODE_TYPE]['class'] = Presentation::class;
}
if (isset($bundles['paragraph'])) {