Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-13503 CiviHR - Cross-Cutting - Framework (other)
  3. CRM-13510

API support for toggling components by storing 'enableComponents' config in settings table

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.0
    • Fix Version/s: None
    • Component/s: CiviCRM API, CiviHR
    • Labels:
      None

      Description

      Currently "enableComponents" is stored in config_backend, and therefore can't be accessed by api.

      This setting should be stored in civicrm_setting table, and copied to config_backend similar to DIRECTORY_PREFERENCES_NAME / URL_PREFERENCES_NAME.

      "CiviCRM Preferences" group_name could be reused here, with name as 'enabled_components'.

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              deepak Deepak Srivastava
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day, 1 hour Original Estimate - 1 day, 1 hour
                1d 1h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 7 hours
                1d 7h