protected function BBBNodeTypeFormController::getNames in BigBlueButton 8
Get node type list of labels.
Return value
array ID and labels asociative array of available node types.
2 calls to BBBNodeTypeFormController::getNames()
- BBBNodeTypeFormController::form in modules/
bbb_node/ src/ Form/ BBBNodeTypeFormController.php - Gets the actual form array to be built.
- BBBNodeTypeFormController::saveEntity in modules/
bbb_node/ src/ Form/ BBBNodeTypeFormController.php
File
- modules/
bbb_node/ src/ Form/ BBBNodeTypeFormController.php, line 220
Class
- BBBNodeTypeFormController
- Provides an administration settings form.
Namespace
Drupal\bbb_node\FormCode
protected function getNames() {
return array_map(function (NodeTypeInterface $bundle_info) {
return $bundle_info
->label();
}, $this->entityTypeManager
->getStorage('node_type')
->loadMultiple());
}