protected function ModuleBuilderComponentFormBase::getFormComponentProperties in Module Builder 7.2
1 call to ModuleBuilderComponentFormBase::getFormComponentProperties()
File
- includes/
module_builder.form.inc, line 65
Class
- ModuleBuilderComponentFormBase
- Backport of ComponentFormBase from 8.x-3.x version.
Code
protected function getFormComponentProperties() {
// Get the list of component properties this section form uses from the
// handler, which gets them from the entity type annotation.
$component_entity_type_id = $this->entity
->getEntityTypeId();
$component_sections_handler = $this->entityTypeManager
->getHandler($component_entity_type_id, 'component_sections');
$operation = $this
->getOperation();
$component_properties_to_use = $component_sections_handler
->getSectionFormComponentProperties($operation);
return $component_properties_to_use;
}