function AbrconfigForm::getReferenceTypesList in Access by Reference 8.2
Function to get all bundles of the type 'node' so we can pre-fill the available options in the form
1 call to AbrconfigForm::getReferenceTypesList()
- AbrconfigForm::form in src/
Form/ AbrconfigForm.php - Gets the actual form array to be built.
File
- src/
Form/ AbrconfigForm.php, line 58
Class
- AbrconfigForm
- Form handler for the Example add and edit forms.
Namespace
Drupal\access_by_ref\FormCode
function getReferenceTypesList() {
return array(
'user' => 'User referenced',
'user_mail' => "User's mail",
'shared' => 'Profile value',
'inherit' => 'Inherit from parent',
);
}