Gravity_Forms\Gravity_Forms\Template_Library\Config\GF_Template_Library_Config
Config items for Template_Library.
Source: includes/template-library/config/class-gf-template-library-config.php:16
Details
- Kind:
class - Namespace:
Gravity_Forms\Gravity_Forms\Template_Library\Config - Extends:
GF_Config
Properties
| Property | Type | Description |
|---|---|---|
$name | string | The object name for this config. |
$script_to_localize | string | The ID of the script to localize the data to. |
$templates_store | GF_Templates_Store | The templates' data store to retrieve the templates' data from. |
$license_api | GF_License_API_Connector | The license API connector to get license information. |
Methods
| Method | Description |
|---|---|
__construct() | Config class constructore. |
data() | Config data. |
Method Reference
__construct()
public function __construct( GF_Config_Data_Parser $parser, GF_Templates_Store $templates_store, GF_License_API_Connector $license_api )
Config class constructore.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$parser | GF_Config_Data_Parser | Data Parser. | |
$templates_store | GF_Templates_Store | The templates' data store to retrieve the templates' data from. | |
$license_api | GF_License_API_Connector |
Since: 2.7
Source: includes/template-library/config/class-gf-template-library-config.php:62
data()
public function data()
Config data.
Returns
array[]
Source: includes/template-library/config/class-gf-template-library-config.php:80