function workflow_access_get_setting in Workflow 8
Get the module settings.
See also
WorkflowAccessSettingsForm::submitForm()
1 call to workflow_access_get_setting()
- workflow_access_node_access_records in modules/
workflow_access/ workflow_access.module - Implements hook_node_access_records().
File
- modules/
workflow_access/ workflow_access.module, line 299 - Provides node access permissions based on workflow states.
Code
function workflow_access_get_setting($value) {
$config = \Drupal::config('workflow_access.settings');
$priority = $config
->get($value);
return $priority;
}