Skip to content

Commit

Permalink
Disable fn to see what happens to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
colemanw committed Mar 22, 2023
1 parent 37656fd commit 53abb14
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions ext/search_kit/search_kit.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,15 @@ function search_kit_civicrm_post($op, $entity, $id, $object) {
/**
* Implements hook_civicrm_entityTypes().
*/
function search_kit_civicrm_entityTypes(array &$entityTypes): void {
foreach (_search_kit_get_entity_displays() as $display) {
$entityTypes[$display['entityName']] = [
'name' => $display['entityName'],
'class' => \Civi\BAO\SK_Entity::class,
'table' => $display['tableName'],
];
}
}
//function search_kit_civicrm_entityTypes(array &$entityTypes): void {
// foreach (_search_kit_get_entity_displays() as $display) {
// $entityTypes[$display['entityName']] = [
// 'name' => $display['entityName'],
// 'class' => \Civi\BAO\SK_Entity::class,
// 'table' => $display['tableName'],
// ];
// }
//}

/**
* Uncached function to fetch displays of type "entity" to be used by boot-level code
Expand Down

0 comments on commit 53abb14

Please sign in to comment.