| .. | |||||
| Actions | |||||
| Commands | |||||
| Traits | |||||
| Validators | |||||
| resources | |||||
| templates | |||||
| AddEnctypeAttributeInDonationForm.php | |||||
| FieldView.php | |||||
| FilterCallbackCollection.php | |||||
| ServiceProvider.php | |||||
| TemplateHooks.php | |||||
| UniqueIdAttributeGenerator.php | |||||
| functions.php |
<?php
use Give\Framework\FieldsAPI\Contracts\Node;
use Give\Framework\FieldsAPI\Facades\Factory;
/**
* @param string $type
* @param string $name
*
* @return Node
*/
function give_field($type, $name)
{
return Factory::make($type, $name);
}
| .. | |||||
| Actions | |||||
| Commands | |||||
| Traits | |||||
| Validators | |||||
| resources | |||||
| templates | |||||
| AddEnctypeAttributeInDonationForm.php | |||||
| FieldView.php | |||||
| FilterCallbackCollection.php | |||||
| ServiceProvider.php | |||||
| TemplateHooks.php | |||||
| UniqueIdAttributeGenerator.php | |||||
| functions.php |