Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

[Unreleased]

## [deprecated-missing-class-vars]

### Fixed
- Fixed missing class variable declarations.

[Released]

## [1.39.0]

### Added
Expand Down
35 changes: 35 additions & 0 deletions src/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,41 @@ abstract class Field {
*/
static public $indexing = false;

/**
* Field type.
*
* @var string
*/
protected $type = '';

/**
* Field wrapper.
*
* @var array
*/
protected $wrapper = [];

/**
* Registered field as a string for debugging purposes.
*
* @var string
*/
protected $registered = '';

/**
* Possible parent field object.
*
* @var mixed
*/
protected $parent;

/**
* Fields variable name.
*
* @var string
*/
protected $fields_var = '';

/**
* Constructor.
*
Expand Down
7 changes: 7 additions & 0 deletions src/Field/Common/Groupable.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
*/
trait Groupable {

/**
* Possible parent object.
*
* @var mixed
*/
protected $parent;

/**
* Export current field and sub fields to acf compatible format
*
Expand Down
7 changes: 7 additions & 0 deletions src/Field/Flexible/Layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ class Layout implements GroupableInterface {
*/
use MinMax;

/**
* Field type
*
* @var string
*/
protected $active;

/**
* Layout label
*
Expand Down