protected function WebformWorkflowStateController::getPermissionsDefaults in Webform Workflow 7
Get the defaults for the $state->permissions array.
Return value
array
2 calls to WebformWorkflowStateController::getPermissionsDefaults()
- WebformWorkflowStateController::create in includes/
webform_workflow_state.controller.inc - Overrides parent::create().
- WebformWorkflowStateController::load in includes/
webform_workflow_state.controller.inc - Overrides parent::load().
File
- includes/
webform_workflow_state.controller.inc, line 33 - Entity controller for a webform workflow state.
Class
- WebformWorkflowStateController
- @file Entity controller for a webform workflow state.
Code
protected function getPermissionsDefaults() {
return array(
'view' => array(),
'edit' => array(),
'from' => array(),
'to' => array(),
);
}