TemplatesCustomEntities module
CustomEntities templates
Default templates the CustomEntities module renders, the controller that renders each one and what it receives. A file at the same path in your site repository replaces the platform's.
Admin view
custom-entities/backend/definitions/add.html
Definitions\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$definition |
Definition |
Single (empty) Definition record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/custom-entities/backend/definitions/add.html in your site repository.
custom-entities/backend/definitions/edit.html
Definitions\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$definition |
Definition |
Retrieved Definition record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/custom-entities/backend/definitions/edit.html in your site repository.
custom-entities/backend/definitions/manage.html
Definitions\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$definitions |
Collection<Definition> |
Collection of Definitions |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/custom-entities/backend/definitions/manage.html in your site repository.
custom-entities/backend/records/add.html
Records\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$record |
Record |
Single (empty) Record record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/custom-entities/backend/records/add.html in your site repository.
custom-entities/backend/records/edit.html
Records\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$record |
Record |
Retrieved Record record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/custom-entities/backend/records/edit.html in your site repository.
custom-entities/backend/records/manage.html
Records\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$records |
Collection<Record> |
Collection of Records |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/custom-entities/backend/records/manage.html in your site repository.