BannersModelBanner::canEditState
Method to test whether a record can have its state changed.
Signature
Parameters
-
$record
- A record object.
Returns
- boolean
- True if allowed to change the state of the record. Defaults to the permission set in the component.