Skip to main content

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

PropertyTypeDescription
$namestringThe object name for this config.
$script_to_localizestringThe ID of the script to localize the data to.
$templates_storeGF_Templates_StoreThe templates' data store to retrieve the templates' data from.
$license_apiGF_License_API_ConnectorThe license API connector to get license information.

Methods

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

NameTypeDefaultDescription
$parserGF_Config_Data_ParserData Parser.
$templates_storeGF_Templates_StoreThe templates' data store to retrieve the templates' data from.
$license_apiGF_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