protected function ModuleBuilderComponentFormBase::getFormComponentProperties in Module Builder 7.2
1 call to ModuleBuilderComponentFormBase::getFormComponentProperties()
- ModuleBuilderComponentFormBase::form in includes/module_builder.form.inc
File
- includes/module_builder.form.inc, line 65
Class
- ModuleBuilderComponentFormBase
- Backport of ComponentFormBase from 8.x-3.x version.
Code
protected function getFormComponentProperties() {
$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;
}