SearchKit - Reuse helpers from CRM_Core_Action
authorcolemanw <coleman@civicrm.org>
Mon, 26 Jun 2023 02:59:27 +0000 (22:59 -0400)
committercolemanw <coleman@civicrm.org>
Mon, 26 Jun 2023 02:59:27 +0000 (22:59 -0400)
commitdae7bf64e3feb4f6726fe561df15eee418efd61d
treea437d5d8f992152c3db837a749907c67509f17dc
parentc2da17f78537909542b7f461bb5f7e63ae78be79
SearchKit - Reuse helpers from CRM_Core_Action

This simplifies SearchKit code by reusing the new helpers added in cf957fc
It adds an additional helper for fetching the icon associated with an action.
Also fixes an action name in the CustomField DAO which did not match the name
of a CRM_Core_Action (renamed 'move' to 'detach' which is the convention other entities use).
CRM/Core/Action.php
CRM/Core/DAO/CustomField.php
ext/civicrm_admin_ui/managed/SavedSearch_Administer_Custom_Fields.mgd.php
ext/search_kit/Civi/Api4/Action/SearchDisplay/GetDefault.php
ext/search_kit/Civi/Search/Display.php
xml/schema/Core/CustomField.xml