setThemePath(string $themePath)

setThemePath is used when we want to change the folder that the theme exists. This is usually a case when we need to create a custom theme that will not be included at the default core of Grocery CRUD.

To change the default theme path is easy. For example:


You can see a full example below:

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


$output = $crud->render();