editFields(array $editFields)

The fields that will be visible to the end user for edit/update form. For example:

$crud->editFields(['first_name', 'last_name', 'fullname', 'address'])

You can see a full working example below:

$crud->setSubject('Customer', 'Customers');

$output = $crud->render();

You can see the result of the above code below.The main difference that you will notice is that when you will press the "Edit customer" button at any row. The fields are less when you edit one (these are the fields that was specified at the editFields functions). You can simply compare the differences by also trying to press the "Add customer" button and see all the existing fields.