MessagesControllerMessage::allowSave
Method (override) to check if you can save a new or existing record.
Adjusts for the primary key name and hands off to the parent class.
Signature
protected function allowSave(
$data,
[string
$key = 'message_id'] )
Parameters
-
$data
-
$key
Returns
- boolean