Skip to main content

Gravity_Forms\Gravity_Forms\Config\GF_App_Config

Config items for app registration, including helper methods.

Since: 2.7.1

Source: includes/config/class-gf-app-config.php:14

Details​

  • Kind: class
  • Namespace: Gravity_Forms\Gravity_Forms\Config
  • Extends: GF_Config

Methods​

MethodDescription
set_data()Set the data for this app config.
should_enqueue()Whether we should enqueue this data.
data()Config data.

Method Reference​

set_data()​

public function set_data( $data )

Set the data for this app config.

Parameters​

NameTypeDefaultDescription
$data

Since: 2.7.1

Source: includes/config/class-gf-app-config.php:58

should_enqueue()​

public function should_enqueue()

Whether we should enqueue this data.

Returns​

  • bool | mixed

Since: 2.6

Source: includes/config/class-gf-app-config.php:75

data()​

public function data()

Config data.

Returns​

  • array[]

Source: includes/config/class-gf-app-config.php:84