ModulesControllerModule::allowEdit
Method override to check if you can edit an existing record.
Signature
protected function allowEdit(array
$data,
[string
$key = 'id'] )
Parameters
-
$data
- An array of input data.
-
$key
- The name of the key for the primary key.
Returns
- boolean