forked from impress-org/givewp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New: Introduce Section field type and replace current use of Groups (i…
…mpress-org#4) * feature: add Section type and update existing group references * feature: create addFields method for more fluent Section type api * refactor: replace append with addFields * refactor: use append instead of addFields Co-authored-by: Jon Waldstein <jonwaldstein@jons-air.mynetworksettings.com>
- Loading branch information
1 parent
7b53b49
commit 14af62f
Showing
4 changed files
with
25 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
namespace Give\Framework\FieldsAPI; | ||
|
||
/** | ||
* @unreleased | ||
*/ | ||
class Section extends Group | ||
{ | ||
/** | ||
* @unreleased | ||
*/ | ||
const TYPE = 'section'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters