Skip to main content

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​

MethodDescription
__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​

NameTypeDefaultDescription
$data_parserGF_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