Skip to content

Commit

Permalink
Make getSettingPageFilter() public so we can conditionally load resou…
Browse files Browse the repository at this point in the history
…rces in hooks
  • Loading branch information
mattwire committed Oct 22, 2019
1 parent c272c8e commit 741afbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Admin/Form/SettingTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ protected function getSettingMetadataItem($setting, $item) {
/**
* @return string
*/
protected function getSettingPageFilter() {
public function getSettingPageFilter() {
if (!isset($this->_filter)) {
// Get the last URL component without modifying the urlPath property.
$urlPath = array_values($this->urlPath);
Expand Down

0 comments on commit 741afbd

Please sign in to comment.