Skip to content

Commit

Permalink
load gf component
Browse files Browse the repository at this point in the history
  • Loading branch information
ckanitz authored May 22, 2024
1 parent 2b3a6c0 commit ae9bf3d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions plugin/inc/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ class Plugin {
*/
protected $disable_comments;

/**
* Gravity_Forms component.
*
* @var Gravity_Forms\Gravity_Forms;
*/
protected $gravity_forms;

/**
* I18N component.
*
Expand Down Expand Up @@ -55,19 +62,22 @@ class Plugin {
* Constructor.
*
* @param Disable_Comments\Disable_Comments $disable_comments Disable_Comments component.
* @param Gravity_Forms\Gravity_Forms $gravity_forms Gravity_Forms component.
* @param i18n\I18N $i18n I18N component.
* @param Lazysizes\Lazysizes $lazysizes Lazysizes component.
* @param Lightbox\Lightbox $lightbox Lightbox component.
* @param Options\Options $options Options component.
*/
public function __construct(
Disable_Comments\Disable_Comments $disable_comments,
Gravity_Forms\Gravity_Forms $gravity_forms,
i18n\I18N $i18n,
Lazysizes\Lazysizes $lazysizes,
Lightbox\Lightbox $lightbox,
Options\Options $options
) {
$this->disable_comments = $disable_comments;
$this->gravity_forms = $gravity_forms;
$this->i18n = $i18n;
$this->lazysizes = $lazysizes;
$this->lightbox = $lightbox;
Expand Down

0 comments on commit ae9bf3d

Please sign in to comment.