[REF] Remove setting on unused variables
[civicrm-core.git] / ext / search / Civi / Search / Actions.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
10 */
11
12 namespace Civi\Search;
13
14 use CRM_Search_ExtensionUtil as E;
15
16 /**
17 * Class Tasks
18 * @package Civi\Search
19 */
20 class Actions {
21
22 /**
23 * @return array
24 */
25 public static function getActionSettings():array {
26 return [
27 'dateRanges' => \CRM_Utils_Array::makeNonAssociative(\CRM_Core_OptionGroup::values('relative_date_filters'), 'id', 'text'),
28 ];
29 }
30
31 }