NewsfeedsModelNewsfeed::canEditState
Method to test whether a record can have its state changed.
Signature
protected function canEditState(
$recordĀ )
Parameters
-
$record
Returns
- boolean
- True if allowed to change the state of the record. Defaults to the permission set in the component.