CRM-11925 - CRM_Utils_Hook - Remove moduleImplements.
authorTim Otten <totten@civicrm.org>
Thu, 7 Mar 2013 08:28:28 +0000 (03:28 -0500)
committerTim Otten <totten@civicrm.org>
Fri, 8 Mar 2013 01:16:26 +0000 (20:16 -0500)
commit39299773df59bf28ea05c752e8a8e69bb68b2a31
treef735a1bd6a1427b2f9d7ec967d7781156a95d53f
parentc0d37c80e9c3af3c14ace3a8afd993bc0997d38b
CRM-11925 - CRM_Utils_Hook - Remove moduleImplements.

The Drupal implementation is good, but we don't need the functionality, and
it's a bit of a liability because the design isn't portable to Joomla.
Keeping it might encourage others to write unportable hook code.

However, if we find that we do need the functionality, then we should use
this code as a starting point.  (Aside: For a non-Drupal example, the
WordPress implementation is better than the Joomla implementation.  The WP
version looks like it would still work with Civi ext-modules.)
CRM/Utils/Hook.php
CRM/Utils/Hook/Drupal.php
CRM/Utils/Hook/Drupal6.php
CRM/Utils/Hook/Joomla.php
CRM/Utils/Hook/Soap.php
CRM/Utils/Hook/UnitTests.php
CRM/Utils/Hook/WordPress.php