namespace App\Nova\ThirdPartyIntegrations;
use Keko94\NovaInlineRelationshipExtended\Integrations\ThirdParty;
use Keko94\NovaInlineRelationshipExtended\Integrations\Contracts\ThirdPartyContract;
class SomeThirdPartyField extends ThirdParty implements ThirdPartyContract
{
/**
* Fields array from object.
*
* @return array
*/
public function fields(): array
{
// The following is just an example and should be updated to meet your needs.
return $this->field->customFieldArray;
}
}
shell script
php artisan vendor:publish
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.