Skip to content

Switch hook_civicrm_entityTypes to search by name; use E::ts()#1

Open
colemanw wants to merge 1 commit into
Skvare:mainfrom
colemanw:hookFix
Open

Switch hook_civicrm_entityTypes to search by name; use E::ts()#1
colemanw wants to merge 1 commit into
Skvare:mainfrom
colemanw:hookFix

Conversation

@colemanw
Copy link
Copy Markdown
Contributor

Upstream changes in core mean that you can't count on the DAO classname as the array key. This switches to search by $entity['name'] instead.
While I was at it I also updated ts() to E::ts().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant