Gravity_Forms\Gravity_Forms\Webapi\User_Select\GF_User_Select_Config
Source: includes/webapi/user-select/class-gf-user-select-config.php:10
Details
- Kind:
class - Namespace:
Gravity_Forms\Gravity_Forms\Webapi\User_Select - Extends:
GF_Config
Methods
| Method | Description |
|---|---|
__construct() | Constructor |
should_enqueue() | Only enqueue on the Web API settings page. |
data() | Config data for the user select dropdown |
Method Reference
__construct()
public function __construct( GF_Config_Data_Parser $data_parser )
Constructor
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$data_parser | GF_Config_Data_Parser |
Since: 2.10.2
Source: includes/webapi/user-select/class-gf-user-select-config.php:22
should_enqueue()
public function should_enqueue()
Only enqueue on the Web API settings page.
Returns
bool
Since: 2.10.2
Source: includes/webapi/user-select/class-gf-user-select-config.php:33
data()
public function data()
Config data for the user select dropdown
Returns
array
Since: 2.10.2
Source: includes/webapi/user-select/class-gf-user-select-config.php:44