Loading entity.module +2 −0 Changes for entity.module: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -53,10 +53,12 @@ function entity_get_bundle_plugin_entity_types() { function entity_entity_type_build(array &$entity_types) { foreach ($entity_types as $entity_type) { if ($entity_type->get('bundle_plugin_type')) { if (!$entity_type->hasHandlerClass('bundle_plugin')) { $entity_type->setHandlerClass('bundle_plugin', BundlePluginHandler::class); } } } } /** * Implements hook_entity_bundle_info(). Loading Loading
entity.module +2 −0 Changes for entity.module: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -53,10 +53,12 @@ function entity_get_bundle_plugin_entity_types() { function entity_entity_type_build(array &$entity_types) { foreach ($entity_types as $entity_type) { if ($entity_type->get('bundle_plugin_type')) { if (!$entity_type->hasHandlerClass('bundle_plugin')) { $entity_type->setHandlerClass('bundle_plugin', BundlePluginHandler::class); } } } } /** * Implements hook_entity_bundle_info(). Loading