AllowMultiple.php
4 years ago
HasDefaultValue.php
4 years ago
HasDescription.php
2 years ago
HasEmailTag.php
3 years ago
HasHelpText.php
4 years ago
HasLabel.php
3 years ago
HasMaxLength.php
3 years ago
HasMinLength.php
3 years ago
HasName.php
3 years ago
HasNodes.php
3 years ago
HasOptions.php
4 years ago
HasPersistence.php
2 years ago
HasPlaceholder.php
4 years ago
HasType.php
3 years ago
HasVisibilityConditions.php
2 years ago
InsertNode.php
3 years ago
IsReadOnly.php
4 years ago
IsRequired.php
3 years ago
Macroable.php
4 years ago
MoveNode.php
3 years ago
MoveNodeProxy.php
4 years ago
NameCollision.php
2 years ago
RemoveNode.php
2 years ago
SerializeAsJson.php
3 years ago
ShowInAdmin.php
3 years ago
ShowInReceipt.php
3 years ago
TapNode.php
3 years ago
WalkNodes.php
4 years ago
HasHelpText.php
28 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\Framework\FieldsAPI\Concerns; |
| 4 | |
| 5 | trait HasHelpText |
| 6 | { |
| 7 | |
| 8 | /** @var string */ |
| 9 | protected $helpText; |
| 10 | |
| 11 | /** |
| 12 | * @param string $helpText |
| 13 | * |
| 14 | * @return $this |
| 15 | */ |
| 16 | public function helpText($helpText) |
| 17 | { |
| 18 | $this->helpText = $helpText; |
| 19 | |
| 20 | return $this; |
| 21 | } |
| 22 | |
| 23 | public function getHelpText() |
| 24 | { |
| 25 | return $this->helpText; |
| 26 | } |
| 27 | } |
| 28 |