function simple_access_form_node_form_builder in Simple Access 8.3
Build node to include the simple_access settings.
1 string reference to 'simple_access_form_node_form_builder'
- simple_access_form_node_form_alter in ./
simple_access.module - Implements hook_form_FORM_ID_alter().
File
- ./
simple_access.module, line 285 - Builds simple access definition for content access.
Code
function simple_access_form_node_form_builder($entity_type, NodeInterface $node, &$form, FormStateInterface $form_state) {
$node->simple_access = $form_state
->getValue('simple_access');
}